Commit Graph

2334 Commits

Author SHA1 Message Date
Daniel Baumann 43105e7a2d Autodetecting mode depending on which distribution we're building. 2012-02-06 23:15:11 +01:00
Daniel Baumann 98932c4edf Correcting typo in security chroot mirror variable assembling. 2012-02-06 23:15:11 +01:00
Daniel Baumann ee58b8ab8d Applying patch from Ivailo Monev to remove stage files for pseudo-filesystems helpers in exit function. 2012-02-06 23:15:10 +01:00
Daniel Baumann db064f3787 Adding embedded copies for syslinux bootloaders (Closes: #622838, #635933, #636217, #645406, #646387, #646799, #651520, #652437). 2012-02-06 23:15:08 +01:00
Daniel Baumann 4e2a532f37 Updating lb_binary_syslinux for embedded syslinux themes. 2012-02-06 17:02:58 +01:00
Daniel Baumann 07ca41c280 Setting default mirror for progress to cdn.archive.progress-linux.org. 2012-01-18 23:06:21 +01:00
Richard Nelson d33c099ede l-b.cgi - Add pending build(s) to be processed ahead of your request. 2012-01-16 19:22:47 -06:00
Daniel Baumann fe93b01571 Updating to debhelper version 9. 2012-01-15 20:46:06 +01:00
Daniel Baumann 1e9e38c7fe Releasing debian version 3.0~a42-1. 2012-01-15 19:25:55 +01:00
Daniel Baumann cac0cdd5e4 Adding reference to --parent-archive-areas in lb_config manpage (Closes: #646797). 2012-01-15 19:22:27 +01:00
Colin Watson 3a75594b8c Print the current time before starting a command with the lb wrapper script (Closes: #630089). 2012-01-12 22:22:57 +01:00
Daniel Baumann df0721e87a Switching priorities of mirror defaults (which mirror default is used from which previously set mirror default etc.) to the way it was intendet to be.
If not building a derivative with two seperate repositories,
users should only need to bother about setting the
--mirror*|LB_MIRROR* options, the --parent-mirror*|LB_PARENT_MIRROR*
does get set automatically correctly now.
2012-01-12 13:19:24 +01:00
Daniel Baumann dce7b385ba Using syslinux payload as fallback in lb_binary_syslinux if no destinct image type could be deduced (Closes: #655562). 2012-01-12 12:34:53 +01:00
Daniel Baumann 2eab8fec68 Correcting wrong and incompatible loop for casper initrds in binary_disk. 2012-01-12 11:57:45 +01:00
Daniel Baumann 1ff06c2f81 Adding armhf kernel defaults, thanks for Ying-Chun Liu <paulliu@debian.org> for bringing it up (Closes: #655557). 2012-01-12 11:42:09 +01:00
Matthijs Kooijman 93a18b9cad Unmount chroot/root/config when running lb_clean. 2012-01-10 21:54:58 +01:00
Matthijs Kooijman 02b9dc3ea9 Unmount /root/config in case of error.
When there is an error, the Exit() handler unmounts filesystems within
the chroot. This adds /root/config to the list used when /proc/mounts is
not available.
2012-01-10 21:54:58 +01:00
Matthijs Kooijman 58209e8bd8 Use a two-stage mount again for mounting config inside chroot in 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-10 21:54:58 +01:00
Matthijs Kooijman 7f9cfe3551 Fix path in 001-update-apt-file-cache.chroot.
The path included /chroot/, but hooks are called from within the chroot,
so that part should be removed. This hook probably never worked.
2012-01-10 21:54:58 +01:00
Matthijs Kooijman e7ecf56be3 Make the config available to all hooks.
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-10 21:54:58 +01:00
Matthijs Kooijman ea491a1a1a Fix pathname for running hooks in lb_chroot_hooks.
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-10 21:54:58 +01:00
Matthijs Kooijman dbe6a82bc0 Make lb_chroot_hooks work with dash.
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-10 21:54:58 +01:00
Daniel Baumann 65f256f893 Releasing debian version 3.0~a41-1. 2012-01-08 02:24:43 +01:00
Daniel Baumann b266a5f959 Adding updated Swedish debconf translations from Martin Bagge <brother@bsnet.se> (Closes: #651345). 2012-01-08 00:32:19 +01:00
Daniel Baumann 1017d40993 Adding updated Portuguese debconf translations from Miguel Figueiredo <elmig@debianpt.org> (Closes: #654966). 2012-01-08 00:25:00 +01:00
Daniel Baumann ecbcdaa784 Using xz compression for squashfs only on wheezy and sid for the moment, not artax-backports. 2012-01-07 20:25:54 +01:00
Daniel Baumann 6bb4a22152 Adding temporary hack with pinning to avoid squashfs-tools mismatch for artax-backports. 2012-01-07 20:18:43 +01:00
Daniel Baumann e05fa004ff Correcting assembling of automatic pinning in progress mode. 2012-01-07 19:59:55 +01:00
Daniel Baumann e3c9db7a2b Fix unconditional overwriting of /etc/apt/preferences.d/progress.pref in progress mode. 2012-01-07 19:59:55 +01:00
Daniel Baumann ac004b56d2 Adding support for apt preference.d in config/chroot_apt. 2012-01-07 19:59:53 +01:00
Matthijs Kooijman 4581e49d4e Fixing lb_binary_rootfs leaving the chroot without archives files. 2012-01-03 21:08:34 +01:00
Daniel Baumann f57757371b Enabling contrib and non-free by default for progress. 2011-12-30 09:41:31 +01:00
Richard Nelson 58ba7df9ad l-b.cgi remove mirror operations which should be handled in /etc/live/build.conf 2011-12-28 23:00:15 -06:00
Richard Nelson adb3aec706 l-b.cgi rename 686-bigmem to 686-pae on forms. 2011-12-28 18:50:56 -06:00
Richard Nelson f4ee97726c l-b.cgi modify old --packages param to become cgipackages.list.chroot 2011-12-23 19:58:31 -06:00
Richard Nelson b16617d8c1 l-b.cgi correct virtual-hdd option form.html 2011-12-22 00:20:19 -06:00
Richard Nelson 94499db401 l-b.cgi update form.html to current --binary-images 2011-12-22 00:12:12 -06:00
Richard Nelson ef3f321d1b l-b.cgi update to form.html to current --package-lists 2011-12-21 23:24:16 -06:00
Richard Nelson b6b53dbc9e l-b.cgi cleanup trailing whitespace in l-b.cgi.cron 2011-12-21 13:05:39 -06:00
Richard Nelson 6d242b47c0 l-b.cgi cleanup build.html to use LB_BINARY_INTICES. 2011-12-21 12:32:39 -06:00
Richard Nelson 197e7c813b l-b.cgi cleanup cron.d operations. 2011-12-21 12:08:09 -06:00
Richard Nelson d5a9fc8006 l-b.cgi add option for amd64 to --architectures. 2011-12-21 11:08:49 -06:00
Richard Nelson 03e381eb85 l-b.cgi correct naming of --architectures 2011-12-21 10:41:17 -06:00
Daniel Baumann 030436dd70 Releasing debian version 3.0~a40-1. 2011-12-04 10:14:54 +01:00
Daniel Baumann 5c9e50bfef Adding updated French debconf translations from Julien Patriarca <patriarcaj@gmail.com> (Closes: #650655). 2011-12-04 10:09:36 +01:00
Daniel Baumann 615ce631b5 Adding updated Russian debconf translations from Yuri Kozlov <yuray@komyakino.ru> (Closes: #650870). 2011-12-04 10:08:09 +01:00
Daniel Baumann 2e27c8f2f6 Adding updated Czech debconf translations from Michal Simunek <michal.simunek@gmail.com> (Closes: #649110). 2011-12-04 10:05:53 +01:00
Daniel Baumann e57e3a2bac Creating progress specific disk info files in progress mode. 2011-11-29 16:28:17 +01:00
Daniel Baumann c9a7e8b3f6 Inverting logic for defaults or archive-areas wrt/ parent and derivatives. 2011-11-29 13:06:11 +01:00
Daniel Baumann f7462cb7b2 Adding libasound2-plugins to standard-x11 package list, thanks to Nik Lutz <nik.lutz@gmail.com>. 2011-11-24 17:20:08 +01:00