diffstat for live-build-4.0.3 live-build-4.0.3 changelog | 20 control | 2 gbp.conf | 2 patches/0001-minor-nitpick.patch | 21 patches/0002-add-sysvinit-core-if-LB_INITSYSTEM-sysvinit.patch | 21 patches/0003-New-option-use-original-packages-list-LB_BINARY_USE_.patch | 2194 ++++++++++ patches/0004-Devuan-specific-changes-to-defaults-and-configuratio.patch | 219 patches/0005-Use-the-debootstrap-exclude-option-if-LB_INITSYSTEM-.patch | 79 patches/0006-Devuan-specific-modified-.udeb-package-path.patch | 51 patches/0007-Devuan-specific-write-cdrom-.disk-base_exclude.patch | 29 patches/0008-Workaround-to-find-firmware-packages.patch | 99 patches/0009-Slightly-hacky-workarounds-for-when-Packages-is-unav.patch | 48 patches/0010-merge-with-prev-patch.patch | 26 patches/0011-Patch-so-that-chroot_dpkg-works-even-if-setenforce-1.patch | 22 patches/0012-mksquashfs_xbcj_option.patch | 41 patches/series | 12 16 files changed, 2885 insertions(+), 1 deletion(-) diff -Nru live-build-4.0.3/debian/changelog live-build-4.0.3/debian/changelog --- live-build-4.0.3/debian/changelog 2014-10-25 12:40:09.000000000 +0000 +++ live-build-4.0.3/debian/changelog 2016-02-06 09:45:27.000000000 +0000 @@ -1,3 +1,23 @@ +live-build (4.0.3-1+devuan2) UNRELEASED; urgency=medium + + [ Ozi Traveller ] + * Added -Xbcj option to mksquashfs in order to compress + the filesystem better for that specific architecture. + + -- Frits Daalmans Sat, 06 Feb 2016 10:26:27 +0100 + +live-build (4.0.3-1+devuan1) UNRELEASED; urgency=medium + + * set debian-branch to devuan/jessie for this branch + * Branch of live-build 4.0.3 adapted for Devuan + * New option --use-original-packages-list + * Use the debootstrap --exclude option + * Pass debootstrap --exclude option to CDROM base_exclude + * Workaround to find firmware packages + * Workaround for when Packages is not found + + -- Frits Daalmans Mon, 28 Dec 2015 16:34:22 +0100 + live-build (4.0.3-1) unstable; urgency=low [ Richard Nelson ] diff -Nru live-build-4.0.3/debian/control live-build-4.0.3/debian/control --- live-build-4.0.3/debian/control 2014-10-25 12:40:09.000000000 +0000 +++ live-build-4.0.3/debian/control 2016-02-06 09:45:27.000000000 +0000 @@ -1,7 +1,7 @@ Source: live-build Section: misc Priority: optional -Maintainer: Live Systems Maintainers +Maintainer: Frits Daalmans Uploaders: Daniel Baumann Build-Depends: debhelper (>= 9) Standards-Version: 3.9.6 diff -Nru live-build-4.0.3/debian/gbp.conf live-build-4.0.3/debian/gbp.conf --- live-build-4.0.3/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ live-build-4.0.3/debian/gbp.conf 2016-02-06 09:45:27.000000000 +0000 @@ -0,0 +1,2 @@ +[buildpackage] +debian-branch=suites/jessie diff -Nru live-build-4.0.3/debian/patches/0001-minor-nitpick.patch live-build-4.0.3/debian/patches/0001-minor-nitpick.patch --- live-build-4.0.3/debian/patches/0001-minor-nitpick.patch 1970-01-01 00:00:00.000000000 +0000 +++ live-build-4.0.3/debian/patches/0001-minor-nitpick.patch 2016-02-06 09:45:27.000000000 +0000 @@ -0,0 +1,21 @@ +From: Frits Daalmans +Date: Mon, 28 Dec 2015 15:22:10 +0100 +Subject: minor nitpick + +--- + scripts/build/installer_debian-installer | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/scripts/build/installer_debian-installer b/scripts/build/installer_debian-installer +index 6415fff..54c7e91 100755 +--- a/scripts/build/installer_debian-installer ++++ b/scripts/build/installer_debian-installer +@@ -682,6 +682,8 @@ then + + while read EXCLUDE + do ++ if [ "${EXCLUDE}" = "" ]; then continue; fi ++ + if [ "${LB_DEBIAN_INSTALLER}" = "live" ] && [ "${EXCLUDE}" = "live-installer" ] + then + continue diff -Nru live-build-4.0.3/debian/patches/0002-add-sysvinit-core-if-LB_INITSYSTEM-sysvinit.patch live-build-4.0.3/debian/patches/0002-add-sysvinit-core-if-LB_INITSYSTEM-sysvinit.patch --- live-build-4.0.3/debian/patches/0002-add-sysvinit-core-if-LB_INITSYSTEM-sysvinit.patch 1970-01-01 00:00:00.000000000 +0000 +++ live-build-4.0.3/debian/patches/0002-add-sysvinit-core-if-LB_INITSYSTEM-sysvinit.patch 2016-02-06 09:45:27.000000000 +0000 @@ -0,0 +1,21 @@ +From: Frits Daalmans +Date: Mon, 28 Dec 2015 15:24:03 +0100 +Subject: add sysvinit-core if LB_INITSYSTEM == sysvinit + +--- + scripts/build/chroot_live-packages | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/build/chroot_live-packages b/scripts/build/chroot_live-packages +index 603dc0e..4f4ed23 100755 +--- a/scripts/build/chroot_live-packages ++++ b/scripts/build/chroot_live-packages +@@ -60,7 +60,7 @@ case "${LB_INITSYSTEM}" in + ;; + + sysvinit) +- _PACKAGES="${_PACKAGES} sysvinit" ++ _PACKAGES="${_PACKAGES} sysvinit-core sysvinit" + + if [ -e chroot/var/lib/dpkg/info/systemd-sysv.list ] + then diff -Nru live-build-4.0.3/debian/patches/0003-New-option-use-original-packages-list-LB_BINARY_USE_.patch live-build-4.0.3/debian/patches/0003-New-option-use-original-packages-list-LB_BINARY_USE_.patch --- live-build-4.0.3/debian/patches/0003-New-option-use-original-packages-list-LB_BINARY_USE_.patch 1970-01-01 00:00:00.000000000 +0000 +++ live-build-4.0.3/debian/patches/0003-New-option-use-original-packages-list-LB_BINARY_USE_.patch 2016-02-06 09:45:27.000000000 +0000 @@ -0,0 +1,2194 @@ +From: Frits Daalmans +Date: Mon, 28 Dec 2015 15:27:08 +0100 +Subject: New option --use-original-packages-list + (LB_BINARY_USE_ORIGINAL_PACKAGES_LIST) If true, + copies the original Packages file of the entire distribution to the DVD image, + instead of generating a local Packages list. + +--- + manpages/en/lb_config.1 | 4 + + manpages/pot/lb_config.1.pot | 504 +++++++++++++++++++------------------ + scripts/build/binary_package-lists | 181 ++++++++++++- + scripts/build/config | 11 + + 4 files changed, 450 insertions(+), 250 deletions(-) + +diff --git a/manpages/en/lb_config.1 b/manpages/en/lb_config.1 +index 3cb8c6b..640b321 100644 +--- a/manpages/en/lb_config.1 ++++ b/manpages/en/lb_config.1 +@@ -215,6 +215,8 @@ + .br + [\fB\-\-updates\fR true|false] + .br ++ [\fB\-\-use-original-packages-list\fR true|false] ++.br + [\fB\-\-backports\fR true|false] + .br + [\fB\-\-verbose\fR] +@@ -450,6 +452,8 @@ sets the path to the templates that live\-build is going to use, e.g. for bootlo + defines what size the hdd image should be. Note that although the default is set to 10000 (= 10GB), it will not need 10GB space on your harddisk as the files are created as sparse files. + .IP "\fB\-\-updates\fR true|false" 4 + defines if debian updates package archives should be included in the image or not. ++.IP "\fB\-\-use-original-packages-list\fR true|false" 4 ++defines if a local Packages list is generated for the image, or if the original Packages file of the entire distribution is copied to the image. + .IP "\fB\-\-backports\fR true|false" 4 + defines if debian backports package archives should be included in the image or not. + .IP "\fB\-\-verbose\fR" 4 +diff --git a/manpages/pot/lb_config.1.pot b/manpages/pot/lb_config.1.pot +index 2a67ae2..91acb59 100644 +--- a/manpages/pot/lb_config.1.pot ++++ b/manpages/pot/lb_config.1.pot +@@ -7,7 +7,7 @@ + msgid "" + msgstr "" + "Project-Id-Version: live-build 4.0.3-1\n" +-"POT-Creation-Date: 2014-10-25 14:34+0200\n" ++"POT-Creation-Date: 2015-10-21 01:43+0000\n" + "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" + "Last-Translator: FULL NAME \n" + "Language-Team: LANGUAGE \n" +@@ -66,7 +66,7 @@ msgstr "" + + #. type: SH + #: en/lb.1:11 en/lb_binary.1:9 en/lb_bootstrap.1:9 en/lb_build.1:9 +-#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:225 en/lb_source.1:9 ++#: en/lb_chroot.1:9 en/lb_clean.1:9 en/lb_config.1:227 en/lb_source.1:9 + #: en/live-build.7:11 + #, no-wrap + msgid "DESCRIPTION" +@@ -74,7 +74,7 @@ msgstr "" + + #. type: SH + #: en/lb.1:16 en/lb_binary.1:14 en/lb_bootstrap.1:14 en/lb_build.1:14 +-#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:234 en/lb_source.1:14 ++#: en/lb_chroot.1:14 en/lb_clean.1:16 en/lb_config.1:236 en/lb_source.1:14 + #: en/live-build.7:20 + #, no-wrap + msgid "OPTIONS" +@@ -82,7 +82,7 @@ msgstr "" + + #. type: SH + #: en/lb.1:19 en/lb_binary.1:17 en/lb_bootstrap.1:17 en/lb_build.1:17 +-#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:466 en/lb_source.1:17 ++#: en/lb_chroot.1:17 en/lb_clean.1:38 en/lb_config.1:470 en/lb_source.1:17 + #: en/live-build.7:215 + #, no-wrap + msgid "FILES" +@@ -90,7 +90,7 @@ msgstr "" + + #. type: SH + #: en/lb.1:22 en/lb_binary.1:20 en/lb_bootstrap.1:20 en/lb_build.1:22 +-#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:473 en/lb_source.1:20 ++#: en/lb_chroot.1:20 en/lb_clean.1:43 en/lb_config.1:477 en/lb_source.1:20 + #: en/live-build.7:219 + #, no-wrap + msgid "SEE ALSO" +@@ -98,20 +98,20 @@ msgstr "" + + #. type: Plain text + #: en/lb.1:24 en/lb_binary.1:22 en/lb_bootstrap.1:22 en/lb_build.1:24 +-#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:475 en/lb_source.1:22 ++#: en/lb_chroot.1:22 en/lb_clean.1:45 en/lb_config.1:479 en/lb_source.1:22 + msgid "I(7)" + msgstr "" + + #. type: Plain text + #: en/lb.1:26 en/lb_binary.1:24 en/lb_bootstrap.1:24 en/lb_build.1:26 +-#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:481 en/lb_source.1:24 ++#: en/lb_chroot.1:24 en/lb_clean.1:47 en/lb_config.1:485 en/lb_source.1:24 + #: en/live-build.7:225 + msgid "This program is a part of live-build." + msgstr "" + + #. type: SH + #: en/lb.1:27 en/lb_binary.1:25 en/lb_bootstrap.1:25 en/lb_build.1:27 +-#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:482 en/lb_source.1:25 ++#: en/lb_chroot.1:25 en/lb_clean.1:48 en/lb_config.1:486 en/lb_source.1:25 + #: en/live-build.7:226 + #, no-wrap + msgid "HOMEPAGE" +@@ -119,7 +119,7 @@ msgstr "" + + #. type: Plain text + #: en/lb.1:29 en/lb_binary.1:27 en/lb_bootstrap.1:27 en/lb_build.1:29 +-#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:484 en/lb_source.1:27 ++#: en/lb_chroot.1:27 en/lb_clean.1:50 en/lb_config.1:488 en/lb_source.1:27 + #: en/live-build.7:228 + msgid "" + "More information about live-build and the Live Systems project can be found " +@@ -129,7 +129,7 @@ msgstr "" + + #. type: SH + #: en/lb.1:30 en/lb_binary.1:28 en/lb_bootstrap.1:28 en/lb_build.1:30 +-#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:485 en/lb_source.1:28 ++#: en/lb_chroot.1:28 en/lb_clean.1:51 en/lb_config.1:489 en/lb_source.1:28 + #: en/live-build.7:229 + #, no-wrap + msgid "BUGS" +@@ -137,7 +137,7 @@ msgstr "" + + #. type: Plain text + #: en/lb.1:32 en/lb_binary.1:30 en/lb_bootstrap.1:30 en/lb_build.1:32 +-#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:487 en/lb_source.1:30 ++#: en/lb_chroot.1:30 en/lb_clean.1:53 en/lb_config.1:491 en/lb_source.1:30 + #: en/live-build.7:231 + msgid "" + "Bugs can be reported by submitting a bugreport for the live-build package in " +@@ -148,7 +148,7 @@ msgstr "" + + #. type: SH + #: en/lb.1:33 en/lb_binary.1:31 en/lb_bootstrap.1:31 en/lb_build.1:33 +-#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:488 en/lb_source.1:31 ++#: en/lb_chroot.1:31 en/lb_clean.1:54 en/lb_config.1:492 en/lb_source.1:31 + #: en/live-build.7:232 + #, no-wrap + msgid "AUTHOR" +@@ -156,7 +156,7 @@ msgstr "" + + #. type: Plain text + #: en/lb.1:34 en/lb_binary.1:32 en/lb_bootstrap.1:32 en/lb_build.1:34 +-#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:489 en/lb_source.1:32 ++#: en/lb_chroot.1:32 en/lb_clean.1:55 en/lb_config.1:493 en/lb_source.1:32 + #: en/live-build.7:233 + msgid "" + "live-build was written by Daniel Baumann EIE." +@@ -698,22 +698,27 @@ msgstr "" + + #. type: Plain text + #: en/lb_config.1:219 +-msgid " [B<--backports> true|false]" ++msgid " [B<--use-original-packages-list> true|false]" + msgstr "" + + #. type: Plain text + #: en/lb_config.1:221 ++msgid " [B<--backports> true|false]" ++msgstr "" ++ ++#. type: Plain text ++#: en/lb_config.1:223 + msgid " [B<--verbose>]" + msgstr "" + + #. FIXME + #. type: Plain text +-#: en/lb_config.1:224 ++#: en/lb_config.1:226 + msgid " [B<--win32-loader true|false]>" + msgstr "" + + #. type: Plain text +-#: en/lb_config.1:227 ++#: en/lb_config.1:229 + msgid "" + "B is a high-level command (porcelain) of I(7), the " + "live systems tool suite." +@@ -721,7 +726,7 @@ msgstr "" + + #. FIXME + #. type: Plain text +-#: en/lb_config.1:230 ++#: en/lb_config.1:232 + msgid "" + "B populates the configuration directory for live-build. By " + "default, this directory is named 'config' and is created in the current " +@@ -730,7 +735,7 @@ msgstr "" + + #. FIXME + #. type: Plain text +-#: en/lb_config.1:233 ++#: en/lb_config.1:235 + msgid "" + "Note: Currently B tries to be smart and sets defaults for some " + "options depending on the setting of other options (e.g. which linux packages " +@@ -746,7 +751,7 @@ msgid "" + msgstr "" + + #. type: Plain text +-#: en/lb_config.1:236 ++#: en/lb_config.1:238 + msgid "" + "In addition to its specific options B understands all generic " + "live-build options. See I(7) for a complete list of all generic " +@@ -755,26 +760,26 @@ msgstr "" + + #. FIXME + #. type: IP +-#: en/lb_config.1:238 ++#: en/lb_config.1:240 + #, no-wrap + msgid "B<--apt> apt|aptitude" + msgstr "" + + #. type: Plain text +-#: en/lb_config.1:240 ++#: en/lb_config.1:242 + msgid "" + "defines if apt-get or aptitude is used to install packages when building the " + "image. The default is apt." + msgstr "" + + #. type: IP +-#: en/lb_config.1:240 ++#: en/lb_config.1:242 + #, no-wrap + msgid "B<--apt-ftp-proxy> I" + msgstr "" + + #. type: Plain text +-#: en/lb_config.1:242 ++#: en/lb_config.1:244 + msgid "" + "sets the ftp proxy to be used by apt. By default, this is empty. Note that " + "this variable is only for the proxy that gets used by apt internally within " +@@ -782,13 +787,13 @@ msgid "" + msgstr "" + + #. type: IP +-#: en/lb_config.1:242 ++#: en/lb_config.1:244 + #, no-wrap + msgid "B<--apt-http-proxy> I" + msgstr "" + + #. type: Plain text +-#: en/lb_config.1:244 ++#: en/lb_config.1:246 + msgid "" + "sets the http proxy to be used by apt. By default, this is empty. Note that " + "this variable is only for the proxy that gets used by apt internally within " +@@ -796,26 +801,26 @@ msgid "" + msgstr "" + + #. type: IP +-#: en/lb_config.1:244 ++#: en/lb_config.1:246 + #, no-wrap + msgid "B<--apt-indices> true|false|none" + msgstr "" + + #. type: Plain text +-#: en/lb_config.1:246 ++#: en/lb_config.1:248 + msgid "" + "defines if the resulting images should have apt indices or not and defaults " + "to true. If set to none, no indices are included at all." + msgstr "" + + #. type: IP +-#: en/lb_config.1:246 ++#: en/lb_config.1:248 + #, no-wrap + msgid "B<--apt-options> I