summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2012-02-06Shortening kernel and initrd filenames in /live again similar to what we did ↵Daniel Baumann
with in lenny. Unfortunately, syslinux as of wheezy and newer apparently does not support long filenames anymore. Therefore, we do have to shorten the filenames from: /live/vmlinuz-3.2.0-1-amd64 /live/initrd.img-3.2.0-1-amd64 to: /live/vmlinuz /live/initrd.img In case more than one kernel flavour is used, the files are being numbered, starting with vmlinuz1 and initrd1.img.
2012-02-06Cleaning up handling of apt preferences when building in progress mode.Daniel Baumann
2012-02-06Simplyfing automatic pinning in derivative modes.Daniel Baumann
2012-02-06Dereferencing potential symlinked apt preference files in chroot_apt/*.pref.Daniel Baumann
2012-02-06Avoid removing populated apt preferences file in derivative mode.Daniel Baumann
2012-02-06Improve backports handling in derivatives mode.Daniel Baumann
If LB_BACKPORTS=true, then backports are configured in sources.list, however, not enabled. If backports are enabled depends on pinning, either manually through apt/preferences.d snipplets in local includes/chroot_apt, or, depending on distribution (e.g. building artax-backports enables pinning automatically).
2012-02-06Removing useless top-comment for /etc/apt/preferences.d/progress.pref.Daniel Baumann
2012-02-06Updating year in copyright notices for 2012.Daniel Baumann
2012-02-06Using /etc/apt/sources.list.d/debian.list instead of /etc/apt/sources.list ↵Daniel Baumann
in derivative mode.
2012-02-06Removing removal of bootstrap-base udeb in binary_debian-installer.Daniel Baumann
If both bootstrap-base and live-installer are available on the installer, live-installer is prefereded by d-i (because of the live specific .disk info). If live-installer is included, can be disabled with live-installer/enable=false and d-i will use bootstrap-base in order to debootstrap the base system on /target.
2012-02-06Renaming forgotten binary_packagelists to binary_package-lists to match the ↵Daniel Baumann
rest of lb.
2012-02-06Avoid warning messages in binary_packagelists for not existing local lists.Daniel Baumann
2012-02-06Adding note about 404 errors that are on purpose when fetching udebs in ↵Daniel Baumann
derivative mode.
2012-02-06Giving a note about what mode we are configuring, now that mode is ↵Daniel Baumann
determined automatically based on the host system.
2012-02-06Updating lb_binary_syslinux for embedded syslinux themes.Daniel Baumann
2012-01-12Print the current time before starting a command with the lb wrapper script ↵Colin Watson
(Closes: #630089).
2012-01-12Using syslinux payload as fallback in lb_binary_syslinux if no destinct ↵Daniel Baumann
image type could be deduced (Closes: #655562).
2012-01-12Correcting wrong and incompatible loop for casper initrds in binary_disk.Daniel Baumann
2012-01-10Unmount chroot/root/config when running lb_clean.Matthijs Kooijman
2012-01-10Use a two-stage mount again for mounting config inside chroot in ↵Matthijs Kooijman
lb_chroot_hooks. This reverts part of cacf9b6e34 (but also adds a "bind" option to the remount command, as documented in mount(8)). Apparently, doing "mount -o bind,ro" doesn't work. It outputs: mount: warning: chroot/root/config seems to be mounted read-write. and mounts read-write instead of read-only. This behaviour is documented in mount(8). Newer kernels do seem to allow combining bind with the read-only option (see mount(2)), but this does not seem to work (possibly because mount is trying to be smart).
2012-01-10Make the config available to all hooks.Matthijs Kooijman
Previously, the config was bindmounted inside the chroot only for hooks from the config dir, now it is done earlier so it is available for all hooks. Note that it is now also done if there are no hooks, but this is probably enough of an exception case to not warrant the extra plumbing required to detect the case (and doing an extra bindmount shouldn't really hurt anyway...).
2012-01-10Fix pathname for running hooks in lb_chroot_hooks.Matthijs Kooijman
lb_chroot_hooks would copy the hooks to run to chroot/root/lb_chroot_hooks, but then try to run them from chroot/root (which obviously fails). This means lb_chroot_hooks has not been working for hooks from /usr/share/live/build/hooks since lb_chroot_hooks was added in revision e4793268. Running hooks from the config directory was unaffected.
2012-01-10Make lb_chroot_hooks work with dash.Matthijs Kooijman
Apparently, dash doesn't expand shell patterns within a quoted string, whereas bash does. We can't remove the quoting entirely, though, since that would cause problems when $LB_BASE or $_HOOK contains spaces (note that $_HOOK can probably never contain spaces, but let's handle it just in case). Only quoting the expansion of $LB_BASE and $_HOOK, but not the shell pattern should make the hooks work with both bash and dash again.
2012-01-07Using xz compression for squashfs only on wheezy and sid for the moment, not ↵Daniel Baumann
artax-backports.
2012-01-07Adding temporary hack with pinning to avoid squashfs-tools mismatch for ↵Daniel Baumann
artax-backports.
2012-01-07Correcting assembling of automatic pinning in progress mode.Daniel Baumann
2012-01-07Fix unconditional overwriting of /etc/apt/preferences.d/progress.pref in ↵Daniel Baumann
progress mode.
2012-01-07Adding support for apt preference.d in config/chroot_apt.Daniel Baumann
2012-01-03Fixing lb_binary_rootfs leaving the chroot without archives files.Matthijs Kooijman
2011-11-29Creating progress specific disk info files in progress mode.Daniel Baumann
2011-11-02Removing --tasks leftovers in lb_config.Daniel Baumann
2011-10-30Adding temporary manual setting of d-i urls for progress.Daniel Baumann
2011-10-27Bail out early in lb_source if source is disabled (Closes: #646807).Daniel Baumann
2011-10-13Also strip out source archives from local archive definitions when using ↵Daniel Baumann
--apt-source-archives false.
2011-10-13Deal with non-existing preseed files in config tree.Daniel Baumann
2011-10-13Correcting wrong location when looking for local preseed files in config ↵Daniel Baumann
tree, thanks to Eugenio Paolantonio <me@medesimo.eu> (Closes: #645116).
2011-10-05Adding foreign bootstrap via qemu for cross arch building.Ben Howard
2011-10-03Adding bug number to comments when moving top-level sources.list.Daniel Baumann
2011-10-01Adding check for missing mtab during chrooted binary rootfs stage.Ben Howard
2011-09-30Making top sources.list conditional, not everyone necessarily always uses that.Daniel Baumann
2011-09-30Treating sources.list top-level file specially to workaround bug in apt that ↵Daniel Baumann
makes sources.list.d sources to be never prefered over main sources.list when using pinning (Closes: #573054).
2011-09-30Copying gfxboot theme when building for Ubuntu.Colin Watson
2011-09-30Adding --system option to define the resulting image type to be a live ↵Daniel Baumann
system or a normal, non-live system.
2011-09-28Renaming virtual-hdd-root-size to hdd-size in preparation of merging ↵Daniel Baumann
virtual-hdd into hdd.
2011-09-28Using 'none' instead of 'plain' when specifying that no chroot filesystem ↵Daniel Baumann
should be used.
2011-09-28Correcting indenting glitch in lb_binary_chroot.Daniel Baumann
2011-09-28Renaming and reworking previous chroot_local-preseed into chroot_preseed, ↵Daniel Baumann
now looking for config/preseed/*.preseed{,.chroot} files.
2011-09-28Removing unused global chroot_preseed.Daniel Baumann
2011-09-28Correcting check for debian-installer-distribution when using daily images ↵Daniel Baumann
in non-derivatives mode.
2011-09-27Correcting typo in config/includes.chroot creating in lb_config, thanks to ↵Daniel Baumann
Stanislav Bogatyrev <realloc@realloc.spb.ru> for reporting it.