Commit Graph

33 Commits

Author SHA1 Message Date
Steven Chamberlain 2b46d5bb72 Fix update_tasks on non-Linux arches
In the filename of the coreutils .deb, the architecture part
may also contain a hyphen in the case of hurd-i386 or
kfreebsd-*
2017-04-12 20:23:36 +01:00
Steve McIntyre 6d7bcaf0bb Extend FORCE_SID_TASKSEL usage in update_tasks
Also affect desktop choice algorithm
2014-09-26 23:40:04 +01:00
Steve McIntyre 08c66eaf07 * tools/update_tasks: don't hard-code the default desktop to use,
instead work it out directly from the dependencies of the task-desktop
  package.
2013-11-05 01:29:40 +00:00
Steve McIntyre 562f02742e Add explicit support for the light CD tasks into the new update_tasks 2012-06-05 17:28:41 +00:00
Steve McIntyre 9ccd9c397f Switch over to working with new task-* metapackages. Closes: #672941 2012-06-05 17:04:04 +00:00
Joey Hess 9206b4d7c2 Read tasksel's debian-tasks.desc from its new location.
Falls back to old location so update_tasks can still be used with old
tasksel.

This does not deal with most of the task information being removed from
debian-tasks.desc. The file still has Key fields, that now list the task-*
packages, and the packages Depend on the crucial packages for the task.
So to that extent it should continue to work.

However, with NORECOMMENDS set, the Recommended other packages for tasks
won't be included on CD. This still needs to be dealt with, probably by
adding all packages listed in Recommends of task-* packages to the
generated task list files.
2011-08-06 16:17:24 +00:00
Steve McIntyre f05a9bafcf Fix calls to which_deb, not on the path 2011-07-18 12:11:02 +00:00
Steve McIntyre cfe4357de6 For testing purposes - set up FORCE_SID_TASKSEL to force us to use
sid's tasksel data even if we're using stable/testing.
2010-12-09 15:58:22 +00:00
Steve McIntyre 60c1387960 Improved handling of in tools/update_tasks 2009-02-12 14:16:45 +00:00
Steve McIntyre cd5a1d2c90 * Merge patches from Jonathan Hall:
+ Add better support for extra components, improve non-i386 mirror
    support (Closes: 514237)
  + tools/update_tasks no longer assumes i386 for all builds (Closes: #513497)
  + tools/which_deb no longer assumes i386 for all builds (Closes: #513498)
* For source-only builds, don't do any task updates as they're not
  useful anyway.
* Last high-urgency upload, ready for Lenny!
2009-02-12 00:22:17 +00:00
Frans Pop 7bbc73edec update_tasks: give priority to key packages for secondary tasks
Even for secondary tasks it makes sense to include their Key packages
before their regular packages.
2008-12-28 13:18:09 +00:00
Frans Pop df0f50fdd4 update_tasks: fix minor error in regexp 2008-12-05 22:30:18 +00:00
Frans Pop 06ee64bc28 update_tasks: we can now just loop over existing task.list files
To avoid confusion the intermediate task lists are renamed from
task.list.{essential,full} to task.gen.{essential,full}.
2008-12-05 14:12:38 +00:00
Frans Pop 086dc76302 Add suffix "generic" to default task files for naming consistency 2008-12-05 14:12:36 +00:00
Frans Pop dc3927d14c Add support for a separate 'GNOME desktop environment' CD
This new task is mostly added for completeness. Main difference with
the default task file is that no server tasks are included.
2008-12-05 14:12:32 +00:00
Frans Pop 2225676ffe Add support to create an 'all desktops' DVD
Include all four desktop environments supported by tasksel (GNOME, KDE,
LXDE and Xfce).

On x86 also add an option in the isolinux menu (under Advanced options)
to select which DE to install; GNOME remains default.
2008-12-05 14:12:24 +00:00
Frans Pop 5b750a3810 Add support for a 'light desktop environment' CD (LXDE + Xfce)
Supports installation of either an xfce or an lxde desktop environment.
For now use B as identifier for INSTALLER_CD in contrib/testingcds.

Includes a framework to manipulate the isolinux configuration for x86 so
that a user can select which desktop he wishes to install.
2008-12-05 14:12:21 +00:00
Frans Pop 7763cff1bd Add support for a separate 'LXDE desktop environment' CD
For now use A as identifier for INSTALLER_CD in contrib/testingcds;
we should probably switch to a double digit scheme post lenny or
even generally rationalize the use of INSTALLER_CD.
2008-12-05 14:12:17 +00:00
Frans Pop c1c4988efa Split out languages supported by D-I and tasksel from task.list files
* Instead of duplicating what language tasks should be included in each
    task.list.* file, let update_tasks add them dynamically at runtime from a
    single list of languages supported by tasksel and D-I. This also makes
    maintaining the lists a lot less painful.
  * Indicate which tasks are "secondary" by adding a "-" suffix in task.list.*
    files instead of hardcoding it in update_tasks.
2008-12-05 14:12:10 +00:00
cd-builder user 788e133770 Add support for multiple desktop tasks on a single disk 2008-11-22 00:58:51 +00:00
Frans Pop 1eac5a9d65 Generate tasks dynamically; separate task files per distro release
All tasks files are moved to ./tasks/<codename> subdirectories so they
can be more easily kept up-to-date with specific distro releases.

Always generate the debian-installer and tasksel tasks dynamically:
- all task files for the desired suite are copied to the working
  directory at the beginning of each build, and are used from there;
- the debian-installer and tasksel tasks are no longer included in
  releases but are always created automatically at build time; this
  means users no longer need to run the generate_di_* scripts or the
  update_tasksel script;
- the popcon task file will remain included as a static file, but plan
  is to add an option to update it automatically for each build; reason
  is that updating it requires network access.

Bump version to 3.1.
2008-11-13 23:19:30 +00:00
Frans Pop 1a0904ab00 Improve temp dir handling 2008-10-12 23:54:01 +00:00
cd-builder user dcccd50f85 more cleanup in update_tasks 2008-10-12 23:25:48 +00:00
cd-builder user 59e4f05035 slight cleanup in update_tasks 2008-10-12 23:08:57 +00:00
Steve McIntyre 09dab01bb4 Change match order 2008-06-07 19:31:29 +00:00
Steve McIntyre 9c027571ba Move update_tasks to using mawk rather than gawk. It's *much*
faster. Needs some slight changes in regular expression handling, but
nothing major.
2008-06-07 19:03:45 +00:00
Steve McIntyre e97909abee Move away from grep-dctrl. New code in awk is slightly faster, and
more robust in cases where tasks are not defined.
2008-06-07 17:03:44 +00:00
Steve McIntyre 2b8dfe453a make sure the packages are sorted appropriately 2008-06-07 12:05:08 +00:00
Steve McIntyre 6a65e48806 re-indent for consistency 2008-06-07 00:31:58 +00:00
Steve McIntyre c5e871279b re-add set -e 2008-06-07 00:27:20 +00:00
Steve McIntyre d21aa49a4f * tools/update_tasks: Significant streamlining to make a huge difference in
runtime. Now feasible to run this automatically per-build rather than
    cronning it.
2008-06-07 00:02:36 +00:00
Frans Pop acc04558ee * tools/update_tasks: ignore comments and blank lines in tasks.list.
* tasks/tasks.list
  - add missing l10n tasks: gujarati-desktop, malayalam-desktop, tamil
  - comment out l10n tasks for languages not supported in D-I, for
    Icelandic, Irish, Serbian, Welsh and Xhosa
2007-12-17 19:59:42 +00:00
Joey Hess c7ece8748b * Added an update-tasks target to the Makefile and moved the code out of
file header comments to there. Fix some bugs in passing.
* List packages for the various specific desktop tasks ahead of the non-key
  packages for the general desktop task. Along with changes in tasksel 2.60
  this should lead to a generally more useful set of packages on the desktop
  CDs; instead of filling up with OOo, it will fill up with things specific
  to the desktop environment.
* Updated task lists.
2006-12-29 06:05:30 +00:00