Codebase list live-build / b174c61
Merge branch 'debian' into kali/master Raphaël Hertzog 4 years ago
31 changed file(s) with 568 addition(s) and 374 deletion(s). Raw diff Collapse all Expand all
0 live-build (1:20191220) unstable; urgency=medium
1
2 * Fix "--debian-installer cdrom" and its interaction with binary_package-lists
3 apt-ftparchive is not able to differentiate between .deb and .udeb so
4 we have to install them in different pool directories so that we can
5 regenerate the Packages files without having the .udeb show up
6 unexpectedly.
7 Since binary_package-lists can overwrite the Packages files generated
8 in installer_debian-installer we have to ensure that it also updates
9 the Release file created formerly.
10 Ideally we should find a way to avoid the duplication of this logic.
11 * Bump Standards-Version to 4.4.1
12 * Switch to debhelper compat level 12
13
14 -- Raphaël Hertzog <[email protected]> Thu, 19 Dec 2019 19:16:08 +0100
15
16 live-build (1:20191219) unstable; urgency=medium
17
18 [ Adrian Gibanel Lopez ]
19 * Fixed foreign architecture package support to linux kernel flavours
20 (Closes: #884553)
21
22 [ Matthijs Kooijman ]
23 * Remove --templates from lb_config manpage
24 * Remove ldlinux.c32 for extlinux and syslinux
25
26 [ Roland Clobus ]
27 * Updated URL in many places.
28 * Reenabled the command line option for colored messages for all scripts.
29 The functionality was added 2008-11-01, but was not really active.
30 * Removed obsolete short command line options. -f was --filesystem -l was
31 --language -p was --package-list -e was --encryption
32 * Do not store _QUIET in the configuration file, otherwise the overrides in
33 the command line get ignored. Adds a documentation line for the other
34 command line options as well.
35 * Removed option none for --apt-indices, which was removed in 3.0.2-1.
36 * Removed option --bootstrap, which is not implemented.
37 * Mention --breakpoints in 'lb config --help'
38 * Fixed a typo for --clean in 'lb config --help'
39 * Manpage: --binary-filesystem also accepts ntfs
40 * Matched the documentation of --checksums to the implementation in live-boot
41 * Manpage: Added documentation for --breakpoints
42 * Manpage: --compression also accepts xz. The default is none
43 * Manpage: --config synchronised to 'lb config --help'
44 * Manpage: Added documentation for --zsync
45 * Manpage: Removed references to command line options that are no longer in
46 the code: --firmware-binary --firmware-chroot --hooks
47 --parent-mirror-chroot-updates --parent-mirror-chroot-backports
48 --parent-mirror-binary-updates --parent-mirror-binary-backports
49 --mirror-chroot-updates --mirror-chroot-backports --mirror-binary-updates
50 --mirror-binary-backports --templates
51 * --initramfs support none and live-boot
52 * Manpage: Added documentation for --initsystem
53 * Manpage: Added documentation for --image-name
54 * Manpage: Added documentation for --hdd-label, --hdd-size and
55 --hdd-partition-start
56 * Manpage: --mode explicitly supports debian and progress-linux. Special
57 handling for ubuntu was dropped 2015-05-03
58 * Manpage: --parent-archive-areas uses the same argument name as 'lb config
59 --help'
60 * Manpage: Added documentation for --firmware-binary and --firmware-chroot
61 * Manpage: Added documentation for --swap-file-path and --swap-file-size
62 * Manpage: Added documentation for --loadlin
63 * Manpage: Added documentation for --bootstrap-qemu-[arch|exclude|static]
64 * Reordered the command line options to make them in alphabetical order
65 * Manpage: added missing \fR tags
66 * Manpage: consistent use of whitespace in the command line option list
67 * Manpage: typo
68 * Manpage: Use alphabetical order for the description of the command line
69 options
70 * --mirror-binary* was not properly sorted
71 * Manpage: removed incorrect mentioning of the -d command line option
72 * Manpage: removed FIXME for the SYNOPSIS section, all options are now
73 listed
74 * Manpage: the configuration directory (config) cannot be modified
75 * Manpage: simplify the description
76 * Manpage: use 3rd person form when describing an option
77 * Manpage: Update the default values of --mirror-* and --parent-mirror-*
78
79 [ adrian15 ]
80 * Readd findiso parametre to loopback.cfg generation.
81
82 [ Raphaël Hertzog ]
83 * binary_package-lists: avoid messing with dpkg's status file
84 * chroot_live-packages: use dpkg-query to see if a package is installed
85 (Closes: #944983)
86 * Set default distribution to buster.
87 Thanks to Алексей Шилин (Closes: #934495)
88 * installer_debian-installer: don't mess with /var/lib/dpkg/status
89 * Tweak lintian overrides
90 * Support --distribution-binary and --distribution-chroot (Closes: #888507)
91 * Update my email in the Maintainer field.
92
93 [ Ronny Standtke ]
94 * Run binary_hooks after binary_grub-efi (Closes: #940846)
95
96 [ John Estabrook ]
97 * Add local archive keys before configuring local package repository
98 (Closes: #941691)
99
100 -- Raphaël Hertzog <[email protected]> Thu, 19 Dec 2019 18:56:00 +0100
101
0102 live-build (1:20190311kali1) kali-dev; urgency=medium
1103
2104 * Synchronize with Debian. Remaining changes:
+0
-1
debian/compat less more
0 10
22 Priority: optional
33 XSBC-Original-Maintainer: Debian Live <[email protected]>
44 Maintainer: Kali Developers <[email protected]>
5 Uploaders: Raphaël Hertzog <[email protected]>,
5 Uploaders: Raphaël Hertzog <[email protected]>,
66 Luca Boccassi <[email protected]>,
77 Build-Depends:
8 debhelper (>= 10~),
8 debhelper-compat (= 12),
99 po4a,
1010 gettext,
11 Standards-Version: 4.3.0
11 Standards-Version: 4.4.1
1212 Rules-Requires-Root: no
13 Homepage: https://debian-live.alioth.debian.org/live-build/
13 Homepage: https://wiki.debian.org/DebianLive
1414 Vcs-Browser: https://gitlab.com/kalilinux/packages/live-build
1515 Vcs-Git: https://gitlab.com/kalilinux/packages/live-build.git
1616
0 image: registry.salsa.debian.org/salsa-ci-team/ci-image-git-buildpackage:latest
1
2 pages:
3 stage: deploy
4 artifacts:
5 paths:
6 - public
7 only:
8 - master
9 script:
10 - gitlab-ci-git-buildpackage-all
11 - gitlab-ci-aptly
00 Before submitting a bug report against live-build, please make sure
11 that you have read your guidelines for live systems bug reports:
22
3 https://debian-live.alioth.debian.org/live-manual/unstable/manual/html/live-manual.en.html
3 https://live-team.pages.debian.net/live-manual/
44
55 By providing the required information as outlined in the guidelines makes
66 sure that we can optimally reproduce and fix bugs, not doing so wastes a
00 live-build: symlink-should-be-relative
1 live-build: depends-on-essential-package-without-using-version suggests: e2fsprogs
1 # Those cases are legitimate uses of direct access to the database
2 live-build: uses-dpkg-database-directly usr/lib/live/build/chroot_tmpfs
3 live-build: uses-dpkg-database-directly usr/lib/live/build/clean
4 live-build: uses-dpkg-database-directly usr/share/live/build/functions/chroot.sh
5 live-build: uses-dpkg-database-directly usr/share/live/build/hooks/normal/0110-remove-backup-files.hook.chroot
99
1010 Arguments ()
1111 {
12 ARGUMENTS="$(getopt --longoptions breakpoints,conffile:,debug,force,help,quiet,usage,verbose,version --name=${PROGRAM} --options c:huv --shell sh -- "${@}")"
12 ARGUMENTS="$(getopt --longoptions breakpoints,color,conffile:,debug,force,help,quiet,usage,verbose,version --name=${PROGRAM} --options c:huv --shell sh -- "${@}")"
1313
1414 if [ "${?}" != "0" ]
1515 then
2424 case "${1}" in
2525 --breakpoints)
2626 _BREAKPOINTS="true"
27 shift
28 ;;
29
30 --color)
31 _COLOR="true"
2732 shift
2833 ;;
2934
3535
3636 return "${?}"
3737 }
38
39 Chroot_has_package() {
40 PACKAGE="${1}"; shift
41 CHROOT="${2:-chroot}"; shift
42
43 if dpkg-query --admindir=${CHROOT}/var/lib/dpkg -s ${PACKAGE} >/dev/null 2>&1 | grep -q "^Status: install"
44 then
45 return 0
46 fi
47 return 1
48 }
49
50 Chroot_package_list() {
51 CHROOT="${1:-chroot}"; shift
52
53 dpkg-query --admindir=${CHROOT}/var/lib/dpkg -W -f'${Package}\n'
54 }
123123 ;;
124124
125125 *)
126 LB_DISTRIBUTION="${LB_DISTRIBUTION:-stretch}"
126 LB_DISTRIBUTION="${LB_DISTRIBUTION:-buster}"
127127 LB_DERIVATIVE="false"
128128 ;;
129129 esac
412412 # Setting linux flavour string
413413 case "${LB_ARCHITECTURES}" in
414414 arm64)
415 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-arm64}"
415 LB_LINUX_FLAVOURS_WITH_ARCH="${LB_LINUX_FLAVOURS_WITH_ARCH:-arm64}"
416416 ;;
417417
418418 armel)
419419 # armel will have special images: one rootfs image and many additional kernel images.
420420 # therefore we default to all available armel flavours
421 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-marvell}"
421 LB_LINUX_FLAVOURS_WITH_ARCH="${LB_LINUX_FLAVOURS_WITH_ARCH:-marvell}"
422422 ;;
423423
424424 armhf)
425425 # armhf will have special images: one rootfs image and many additional kernel images.
426426 # therefore we default to all available armhf flavours
427 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-armmp armmp-lpae}"
427 LB_LINUX_FLAVOURS_WITH_ARCH="${LB_LINUX_FLAVOURS_WITH_ARCH:-armmp armmp-lpae}"
428428 ;;
429429
430430 amd64)
431 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-amd64}"
431 LB_LINUX_FLAVOURS_WITH_ARCH="${LB_LINUX_FLAVOURS_WITH_ARCH:-amd64}"
432432 ;;
433433
434434 i386)
435 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-686-pae}"
435 LB_LINUX_FLAVOURS_WITH_ARCH="${LB_LINUX_FLAVOURS_WITH_ARCH:-686-pae}"
436436 ;;
437437
438438 ia64)
443443 ;;
444444
445445 *)
446 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-itanium}"
446 LB_LINUX_FLAVOURS_WITH_ARCH="${LB_LINUX_FLAVOURS_WITH_ARCH:-itanium}"
447447 ;;
448448 esac
449449 ;;
456456 ;;
457457
458458 *)
459 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-powerpc64 powerpc}"
459 LB_LINUX_FLAVOURS_WITH_ARCH="${LB_LINUX_FLAVOURS_WITH_ARCH:-powerpc64 powerpc}"
460460 ;;
461461 esac
462462 ;;
469469 ;;
470470
471471 *)
472 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS:-s390x}"
472 LB_LINUX_FLAVOURS_WITH_ARCH="${LB_LINUX_FLAVOURS_WITH_ARCH:-s390x}"
473473 ;;
474474 esac
475475 ;;
479479 exit 1
480480 ;;
481481 esac
482
483 LB_LINUX_FLAVOURS=""
484 for FLAVOUR in ${LB_LINUX_FLAVOURS_WITH_ARCH}
485 do
486 ARCH_FILTERED_FLAVOUR="$(echo ${FLAVOUR} | awk -F':' '{print $1}')"
487 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS} ${ARCH_FILTERED_FLAVOUR}"
488 done
489
482490
483491 # Set linux packages
484492 LB_LINUX_PACKAGES="${LB_LINUX_PACKAGES:-linux-image}"
656664 esac
657665
658666 # Set iso preparer
659 LB_ISO_PREPARER="${LB_ISO_PREPARER:-live-build \$VERSION; https://debian-live.alioth.debian.org/live-build}"
667 LB_ISO_PREPARER="${LB_ISO_PREPARER:-live-build \$VERSION; https://salsa.debian.org/live-team/live-build}"
660668
661669 # Set iso publisher
662670 case "${LB_MODE}" in
665673 ;;
666674
667675 *)
668 LB_ISO_PUBLISHER="${LB_ISO_PUBLISHER:-Live Systems project; https://debian-live.alioth.debian.org/; [email protected]}"
676 LB_ISO_PUBLISHER="${LB_ISO_PUBLISHER:-Live Systems project; https://wiki.debian.org/DebianLive; [email protected]}"
669677 ;;
670678 esac
671679
3030 echo
3131 fi
3232
33 Echo "Report bugs to the Live Systems project <https://debian-live.alioth.debian.org/>."
33 Echo "Report bugs to the Live Systems project <https://wiki.debian.org/DebianLive>."
3434 exit 0
3535 }
4141 @if [ ! -x "$$(which po4a 2>/dev/null)" ]; \
4242 then \
4343 echo "E: po4a - command not found"; \
44 echo "I: po4a can be obtained from http://po4a.alioth.debian.org/"; \
44 echo "I: po4a can be obtained from https://po4a.org"; \
4545 echo "I: On Debian based systems, po4a can be installed with 'apt-get install po4a'."; \
4646 exit 1; \
4747 fi
2424 This program is a part of live\-build.
2525
2626 .SH HOMEPAGE
27 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://debian-live.alioth.debian.org/\fR>.
27 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://wiki.debian.org/DebianLive\fR>.
2828
2929 .SH BUGS
3030 Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\[email protected]\fR>.
2222 This program is a part of live\-build.
2323
2424 .SH HOMEPAGE
25 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://debian-live.alioth.debian.org/\fR>.
25 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://wiki.debian.org/DebianLive\fR>.
2626
2727 .SH BUGS
2828 Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\[email protected]\fR>.
2222 This program is a part of live\-build.
2323
2424 .SH HOMEPAGE
25 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://debian-live.alioth.debian.org/\fR>.
25 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://wiki.debian.org/DebianLive\fR>.
2626
2727 .SH BUGS
2828 Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\[email protected]\fR>.
2424 This program is a part of live\-build.
2525
2626 .SH HOMEPAGE
27 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://debian-live.alioth.debian.org/\fR>.
27 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://wiki.debian.org/DebianLive\fR>.
2828
2929 .SH BUGS
3030 Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\[email protected]\fR>.
2222 This program is a part of live\-build.
2323
2424 .SH HOMEPAGE
25 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://debian-live.alioth.debian.org/\fR>.
25 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://wiki.debian.org/DebianLive\fR>.
2626
2727 .SH BUGS
2828 Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\[email protected]\fR>.
4545 This program is a part of live\-build.
4646
4747 .SH HOMEPAGE
48 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://debian-live.alioth.debian.org/\fR>.
48 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://wiki.debian.org/DebianLive\fR>.
4949
5050 .SH BUGS
5151 Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\[email protected]\fR>.
55 .SH SYNOPSIS
66 \fBlb config\fR [\fIlive\-build options\fR]
77 .PP
8 .\" FIXME
98 \fBlb config\fR
109 .br
1110 [\fB\-\-apt\fR apt|aptitude]
1817 .br
1918 [\fB\-\-apt\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"]
2019 .br
20 [\fB\-\-apt\-pipeline\fR \fIDEPTH\fR]
21 .br
22 [\fB\-\-apt\-recommends\fR true|false]
23 .br
24 [\fB\-\-apt\-secure\fR true|false]
25 .br
26 [\fB\-\-apt\-source\-archives\fR true|false]
27 .br
2128 [\fB\-\-aptitude\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"]
2229 .br
23 [\fB\-\-apt\-pipeline\fR \fIDEPTH\fR]
24 .br
25 [\fB\-\-apt\-recommends\fR true|false]
26 .br
27 [\fB\-\-apt\-secure\fR true|false]
28 .br
29 [\fB\-\-apt\-source\-archives\fR true|false]
30 .br
3130 [\-a|\fB\-\-architectures\fR \fIARCHITECTURE\fR]
3231 .br
32 [\fB\-\-archive\-areas\fR \fIARCHIVE_AREA\fR|\fI"ARCHIVE_AREAS"\fR]
33 .br
34 [\fB\-\-backports\fR true|false]
35 .br
36 [\fB\-\-binary\-filesystem\fR fat16|fat32|ext2|ext3|ext4|ntfs]
37 .br
3338 [\-b|\fB\-\-binary\-images\fR iso|iso\-hybrid|netboot|tar|hdd]
3439 .br
35 [\fB\-\-binary\-filesystem\fR fat16|fat32|ext2|ext3|ext4]
36 .br
3740 [\fB\-\-bootappend\-install\fR \fIPARAMETER\fR|\fI"PARAMETERS"\fR]
3841 .br
3942 [\fB\-\-bootappend\-live\fR \fIPARAMETER\fR|\fI"PARAMETERS"\fR]
4245 .br
4346 [\fB\-\-bootloaders\fR grub-legacy|grub-pc|syslinux|grub-efi]
4447 .br
48 [\fB\-\-bootstrap\-qemu\-arch \fIARCH\fR]
49 .br
50 [\fB\-\-bootstrap\-qemu\-exclude \fIPACKAGES\fR]
51 .br
52 [\fB\-\-bootstrap\-qemu\-static \fIPATH\fR]
53 .br
54 [\fB\-\-breakpoints]
55 .br
56 [\fB\-\-build\-with\-chroot\fR true|false]
57 .br
4558 [\fB\-\-cache\fR true|false]
4659 .br
4760 [\fB\-\-cache\-indices\fR true|false]
5063 .br
5164 [\fB\-\-cache\-stages\fR \fISTAGE\fR|\fI"STAGES"\fR]
5265 .br
53 [\fB\-\-checksums\fR md5|sha1|sha256|none]
54 .br
55 [\fB\-\-compression\fR bzip2|gzip|lzip|none]
56 .br
57 [\fB\-\-config\fR \fIGIT_URL::GIT_ID\fR]
58 .br
59 [\fB\-\-build\-with\-chroot\fR true|false]
66 [\fB\-\-checksums\fR md5|sha1|sha224|sha256|sha384|sha512|none]
6067 .br
6168 [\fB\-\-chroot\-filesystem\fR ext2|ext3|ext4|squashfs|jffs2|none]
6269 .br
6370 [\fB\-\-clean\fR]
6471 .br
72 [\fB\-\-color]
73 .br
74 [\fB\-\-compression\fR bzip2|gzip|lzip|xz|none]
75 .br
6576 [\-c|\fB\-\-conffile\fR \fIFILE\fR]
6677 .br
78 [\fB\-\-config\fR \fIGIT_URL::GIT_BRANCH\fR]
79 .br
6780 [\fB\-\-debconf\-frontend\fR dialog|editor|noninteractive|readline]
6881 .br
6982 [\fB\-\-debconf\-priority\fR low|medium|high|critical]
7285 .br
7386 [\fB\-\-debian\-installer\-distribution\fR daily|\fICODENAME\fR]
7487 .br
88 [\fB\-\-debian\-installer\-gui\fR true|false]
89 .br
7590 [\fB\-\-debian\-installer\-preseedfile\fR \fIFILE\fR|\fIURL\fR]
7691 .br
77 [\fB\-\-debian\-installer\-gui\fR true|false]
78 .br
7992 [\fB\-\-debootstrap\-options\fR \fIOPTIONS\fR]
8093 .br
8194 [\fB\-\-debootstrap\-script\fR \fISCRIPT\fR]
8497 .br
8598 [\-d|\fB\-\-distribution\fR \fICODENAME\fR]
8699 .br
100 [\fB\-\-distribution\-chroot\fR \fICODENAME\fR]
101 .br
102 [\fB\-\-distribution\-binary\fR \fICODENAME\fR]
103 .br
104 [\fB\-\-dump\fR]
105 .br
106 [\fB\-\-fdisk\fR fdisk|fdisk.dist]
107 .br
108 [\fB\-\-firmware\-binary\fR true|false]
109 .br
110 [\fB\-\-firmware\-chroot\fR true|false]
111 .br
112 [\fB\-\-force\fR]
113 .br
114 [\fB\-\-grub\-splash\fR \fIFILE\fR]
115 .br
116 [\fB\-\-gzip\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"]
117 .br
118 [\fB\-\-hdd\-label\fR \fILABEL\fR]
119 .br
120 [\fB\-\-hdd\-partition\-start\fR \fISTART\fR]
121 .br
122 [\fB\-\-hdd\-size\fR \fISIZE\fR]
123 .br
124 [\fB\-\-ignore\-system\-defaults\fR]
125 .br
126 [\fB\-\-image\-name\fR \fINAME\fR]
127 .br
128 [\fB\-\-initramfs\fR none|live\-boot]
129 .br
130 [\fB\-\-initramfs\-compression\fR bzip2|gzip|lzma]
131 .br
132 [\fB\-\-initsystem\fR sysvinit|systemd|none]
133 .br
134 [\fB\-\-interactive\fR shell]
135 .br
136 [\fB\-\-iso\-application\fR \fINAME\fR]
137 .br
138 [\fB\-\-iso\-preparer\fR \fINAME\fR]
139 .br
140 [\fB\-\-iso\-publisher\fR \fINAME\fR]
141 .br
142 [\fB\-\-iso\-volume\fR \fINAME\fR]
143 .br
144 [\fB\-\-isohybrid\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"]
145 .br
146 [\fB\-\-jffs2\-eraseblock\fR \fISIZE\fR]
147 .br
148 [\fB\-\-keyring\-packages\fR \fIPACKAGE\fI|\fI"PACKAGES"\fR]
149 .br
150 [\-k|\fB\-\-linux\-flavours\fR \fIFLAVOUR\fR|\fI"FLAVOURS"\fR]
151 .br
152 [\fB\-\-linux\-packages\fR \fI"PACKAGES"\fR]
153 .br
154 [\fB\-\-loadlin\fR true|false]
155 .br
156 [\fB\-\-losetup\fR losetup|losetup.orig]
157 .br
158 [\fB\-\-memtest\fR memtest86+|memtest86|none]
159 .br
160 [\fB\-\-mirror\-binary\fR \fIURL\fR]
161 .br
162 [\fB\-\-mirror\-binary\-security\fR \fIURL\fR]
163 .br
164 [\fB\-\-mirror\-bootstrap\fR \fIURL\fR]
165 .br
166 [\fB\-\-mirror\-chroot\fR \fIURL\fR]
167 .br
168 [\fB\-\-mirror\-chroot\-security\fR \fIURL\fR]
169 .br
170 [\fB\-\-mirror\-debian\-installer\fR \fIURL\fR]
171 .br
172 [\fB\-\-mode\fR debian|progress-linux]
173 .br
174 [\fB\-\-net\-cow\-filesystem\fR nfs|cfs]
175 .br
176 [\fB\-\-net\-cow\-mountoptions\fR \fIOPTIONS\fR]
177 .br
178 [\fB\-\-net\-cow\-path\fR \fIPATH\fR]
179 .br
180 [\fB\-\-net\-cow\-server\fR \fIIP\fR|\fIHOSTNAME\fR]
181 .br
182 [\fB\-\-net\-root\-filesystem\fR nfs|cfs]
183 .br
184 [\fB\-\-net\-root\-mountoptions\fR \fIOPTIONS\fR]
185 .br
186 [\fB\-\-net\-root\-path\fR \fIPATH\fR]
187 .br
188 [\fB\-\-net\-root\-server\fR \fIIP\fR|\fIHOSTNAME\fR]
189 .br
190 [\fB\-\-net\-tarball\fR true|false]
191 .br
192 [\fB\-\-onie\fR true|false]
193 .br
194 [\fB\-\-onie\-kernel\-cmdline\fR \fI"OPTION1 OPTION2"\fR]
195 .br
196 [\fB\-\-parent\-archive\-areas\fR \fIARCHIVE_AREA\fR|\fI"ARCHIVE_AREAS"\fR]
197 .br
198 [\fB\-\-parent\-debian\-installer\-distribution\fR \fICODENAME\fR]
199 .br
87200 [\fB\-\-parent\-distribution\fR \fICODENAME\fR]
88201 .br
89 [\fB\-\-parent\-debian\-installer\-distribution\fR \fICODENAME\fR]
90 .br
91 [\fB\-\-dump\fR]
92 .br
93 [\fB\-\-fdisk\fR fdisk|fdisk.dist]
94 .br
95 [\fB\-\-firmware\-binary true|false\fR]
96 .br
97 [\fB\-\-firmware\-chroot true|false\fR]
98 .br
99 [\fB\-\-force\fR]
100 .br
101 [\fB\-\-grub\-splash\fR \fIFILE\fR]
102 .br
103 [\fB\-\-gzip\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"]
104 .br
105 [\fB\-\-hooks\fR \fIFILE\fR]
106 .br
107 [\fB\-\-ignore\-system\-defaults\fR]
108 .br
109 [\fB\-\-initramfs\fR auto|none|live\-boot|casper]
110 .br
111 [\fB\-\-initramfs\-compression\fR bzip2|gzip|lzma]
112 .br
113 [\fB\-\-initsystem\fR sysvinit|runit|systemd|upstart|none]
114 .br
115 [\fB\-\-interactive\fR shell]
116 .br
117 [\fB\-\-isohybrid\-options\fR \fIOPTION\fR|"\fIOPTIONS\fR"]
118 .br
119 [\fB\-\-iso\-application\fR \fINAME\fR]
120 .br
121 [\fB\-\-iso\-preparer\fR \fINAME\fR]
122 .br
123 [\fB\-\-iso\-publisher\fR \fINAME\fR]
124 .br
125 [\fB\-\-iso\-volume\fR \fINAME\fR]
126 .br
127 [\fB\-\-jffs2\-eraseblock\fR \fISIZE\fR]
128 .br
129 [\fB\-\-keyring\-packages\fR \fIPACKAGE\fI|\fI"PACKAGES"\fR]
130 .br
131 [\-k|\fB\-\-linux\-flavours\fR \fIFLAVOUR\fR|\fI"FLAVOURS"\fR]
132 .br
133 [\fB\-\-linux\-packages\fR \fI"PACKAGES"\fR]
134 .br
135 [\fB\-\-losetup\fR losetup|losetup.orig]
136 .br
137 [\fB\-\-memtest\fR memtest86+|memtest86|none]
202 [\fB\-\-parent\-distribution\-chroot\fR \fICODENAME\fR]
203 .br
204 [\fB\-\-parent\-distribution\-binary\fR \fICODENAME\fR]
205 .br
206 [\fB\-\-parent\-mirror\-binary\fR \fIURL\fR]
207 .br
208 [\fB\-\-parent\-mirror\-binary\-security\fR \fIURL\fR]
138209 .br
139210 [\-m|\fB\-\-parent\-mirror\-bootstrap\fR \fIURL\fR]
140211 .br
142213 .br
143214 [\fB\-\-parent\-mirror\-chroot\-security\fR \fIURL\fR]
144215 .br
145 [\fB\-\-parent\-mirror\-chroot\-updates\fR \fIURL\fR]
146 .br
147 [\fB\-\-parent\-mirror\-chroot\-backports\fR \fIURL\fR]
148 .br
149 [\fB\-\-parent\-mirror\-binary\fR \fIURL\fR]
150 .br
151 [\fB\-\-parent\-mirror\-binary\-security\fR \fIURL\fR]
152 .br
153 [\fB\-\-parent\-mirror\-binary\-updates\fR \fIURL\fR]
154 .br
155 [\fB\-\-parent\-mirror\-binary\-backports\fR \fIURL\fR]
156 .br
157216 [\fB\-\-parent\-mirror\-debian\-installer\fR \fIURL\fR]
158217 .br
159 [\fB\-\-mirror\-bootstrap\fR \fIURL\fR]
160 .br
161 [\fB\-\-mirror\-chroot\fR \fIURL\fR]
162 .br
163 [\fB\-\-mirror\-chroot\-security\fR \fIURL\fR]
164 .br
165 [\fB\-\-mirror\-chroot\-updates\fR \fIURL\fR]
166 .br
167 [\fB\-\-mirror\-chroot\-backports\fR \fIURL\fR]
168 .br
169 [\fB\-\-mirror\-binary\fR \fIURL\fR]
170 .br
171 [\fB\-\-mirror\-binary\-security\fR \fIURL\fR]
172 .br
173 [\fB\-\-mirror\-binary\-updates\fR \fIURL\fR]
174 .br
175 [\fB\-\-mirror\-binary\-backports\fR \fIURL\fR]
176 .br
177 [\fB\-\-mirror\-debian\-installer\fR \fIURL\fR]
178 .br
179 [\fB\-\-mode\fR debian|progress-linux|ubuntu]
218 [\fB\-\-quiet\fR]
219 .br
220 [\fB\-\-security\fR true|false]
221 .br
222 [\fB\-\-source\fR true|false]
223 .br
224 [\-s|\fB\-\-source\-images\fR iso|netboot|tar|hdd]
225 .br
226 [\fB\-\-swap\-file\-path PATH]
227 .br
228 [\fB\-\-swap\-file\-size MB]
180229 .br
181230 [\fB\-\-system\fR live|normal]
182231 .br
183 [\fB\-\-net\-root\-filesystem\fR nfs|cfs]
184 .br
185 [\fB\-\-net\-root\-mountoptions\fR \fIOPTIONS\fR]
186 .br
187 [\fB\-\-net\-root\-path\fR \fIPATH\fR]
188 .br
189 [\fB\-\-net\-root\-server\fR \fIIP\fR|\fIHOSTNAME\fR]
190 .br
191 [\fB\-\-net\-cow\-filesystem\fR nfs|cfs]
192 .br
193 [\fB\-\-net\-cow\-mountoptions\fR \fIOPTIONS\fR]
194 .br
195 [\fB\-\-net\-cow\-path\fR \fIPATH\fR]
196 .br
197 [\fB\-\-net\-cow\-server\fR \fIIP\fR|\fIHOSTNAME\fR]
198 .br
199 [\fB\-\-net\-tarball\fR true|false]
200 .br
201 [\fB\-\-onie\fR true|false]
202 .br
203 [\fB\-\-onie\-kernel\-cmdline\fR \fI"OPTION1 OPTION2"\fR]
204 .br
205 [\fB\-\-quiet\fR]
206 .br
207 [\fB\-\-archive\-areas\fR \fIARCHIVE_AREA\fR|\fI"ARCHIVE_AREAS"\fR]
208 .br
209 [\fB\-\-parent\-archive\-areas\fR \fIPARENT_ARCHIVE_AREA\fR|\fI"PARENT_ARCHIVE_AREAS"\fR]
210 .br
211 [\fB\-\-security\fR true|false]
212 .br
213 [\fB\-\-source\fR true|false]
214 .br
215 [\-s|\fB\-\-source\-images\fR iso|netboot|tar|hdd]
216 .br
217232 [\fB\-\-tasksel\fR apt|aptitude|tasksel]
218233 .br
219 [\fB\-\-templates\fR \fIPATH\fR]
220 .br
221234 [\fB\-\-uefi\-secure\-boot\fR \fIauto|enable|disable\fR]
222235 .br
223 [\fB\-\-hdd\-size \fIMB\fR]
224 .br
225236 [\fB\-\-updates\fR true|false]
226237 .br
227 [\fB\-\-backports\fR true|false]
228 .br
229238 [\fB\-\-verbose\fR]
230239 .br
231 [\fB\-\-win32\-loader true|false]
232 .\" FIXME
240 [\fB\-\-win32\-loader\fR true|false]
241 .br
242 [\fB\-\-zsync\fR true|false]
233243
234244 .SH DESCRIPTION
235245 \fBlb config\fR is a high\-level command (porcelain) of \fIlive\-build\fR(7), the live systems tool suite.
236246 .PP
237 .\" FIXME
238 \fBlb config\fR populates the configuration directory for live\-build. By default, this directory is named 'config' and is created in the current directory where \fBlb config\fR was executed.
239 .PP
240 Note: Currently \fBlb config\fR tries to be smart and sets defaults for some options depending on the setting of other options (e.g. which linux packages to be used depending on if a wheezy system gets build or not). This means that when generating a new configuration, you should call \fBlb config\fR only once with all options specified. Calling it several times with only a subset of the options each can result in non working configurations. This is also caused by the fact that \fBlb config\fR called with one option only changes that option, and leaves everything else as is unless its not defined. However, \fBlb config\fR does warn about know impossible or likely impossible combinations that would lead to non working live systems. If unsure, remove config/{binary,bootstrap,chroot,common,source} and call \fBlb config\fR again.
241 .\" FIXME
247 \fBlb config\fR populates the configuration directory for live\-build. This directory is named 'config' and is created in the current directory where \fBlb config\fR was executed.
248 .PP
249 Note: \fBlb config\fR tries to be smart and sets defaults for some options depending on the setting of other options. This means that when generating a new configuration, you should call \fBlb config\fR only once with all options specified. Calling it several times with only a subset of the options each can result in non working configurations. This is also caused by the fact that \fBlb config\fR called with one option only changes that option, and leaves everything else as is unless it is not defined. However, \fBlb config\fR does warn about know impossible or likely impossible combinations that would lead to non working live systems. If unsure, remove config/{binary,bootstrap,chroot,common,source} and call \fBlb config\fR again.
242250
243251 .SH OPTIONS
244252 In addition to its specific options \fBlb config\fR understands all generic live\-build options. See \fIlive\-build\fR(7) for a complete list of all generic live\-build options.
250258 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 the chroot, it is not used for anything else.
251259 .IP "\fB\-\-apt\-http\-proxy\fR \fIURL\fR" 4
252260 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 the chroot, it is not used for anything else.
253 .IP "\fB\-\-apt\-indices\fR true|false|none" 4
254 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.
261 .IP "\fB\-\-apt\-indices\fR true|false" 4
262 defines if the resulting images should have apt indices or not and defaults to true.
255263 .IP "\fB\-\-apt\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4
256264 defines the default options that will be appended to every apt call that is made inside chroot during the building of the image. By default, this is set to \-\-yes to allow non-interactive installation of packages.
257 .IP "\fB\-\-aptitude\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4
258 defines the default options that will be appended to every aptitude call that is made inside chroot during building of the image. By default, this is set to \-\-assume\-yes to allow non-interactive installation of packages.
259265 .IP "\fB\-\-apt\-pipeline\fR \fIDEPTH\fR" 4
260266 sets the depth of the apt/aptitude pipeline. In cases where the remote server is not RFC conforming or buggy (such as Squid 2.0.2) this option can be a value from 0 to 5 indicating how many outstanding requests APT should send. A value of zero MUST be specified if the remote host does not properly linger on TCP connections \- otherwise data corruption will occur. Hosts which require this are in violation of RFC 2068. By default, live\-build does not set this option.
261267 .IP "\fB\-\-apt\-recommends\fR true|false" 4
264270 defines if apt should check repository signatures. This is true by default.
265271 .IP "\fB\-\-apt\-source\-archives\fR true|false" 4
266272 defines if deb-src entries should be included in the resulting live image or not, defaults to true.
273 .IP "\fB\-\-aptitude\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4
274 defines the default options that will be appended to every aptitude call that is made inside chroot during building of the image. By default, this is set to \-\-assume\-yes to allow non-interactive installation of packages.
267275 .IP "\-a|\fB\-\-architectures\fR \fIARCHITECTURE\fR" 4
268276 defines the architecture of the to be build image. By default, this is set to the host architecture. Note that you cannot crossbuild for another architecture if your host system is not able to execute binaries for the target architecture natively. For example, building amd64 images on i386 and vice versa is possible if you have a 64bit capable i386 processor and the right kernel. But building powerpc images on an i386 system is not possible.
277 .IP "\fB\-\-archive\-areas\fR \fIARCHIVE_AREA\fR|""\fIARCHIVE_AREAS\fR""" 4
278 defines which package archive areas of a debian packages archive should be used for configured debian package mirrors. By default, this is set to main. Remember to check the licenses of each packages with respect to their redistributability in your juristiction when enabling contrib or non\-free with this mechanism.
279 .IP "\fB\-\-backports\fR true|false" 4
280 defines if debian backports package archives should be included in the image or not.
281 .IP "\fB\-\-binary\-filesystem\fR fat16|fat32|ext2|ext3|ext4|ntfs" 4
282 defines the filesystem to be used in the image type. This only has an effect if the selected binary image type lets you choose a filesystem. For example, when selection iso the resulting CD/DVD has always the filesystem ISO9660. When building hdd images for usb sticks, this is active. Note that it defaults to fat16 on all architectures except sparc where it defaults to ext4. Also note that if you choose fat16 and your resulting binary image gets bigger than 2GB, the binary filesystem automatically gets switched to fat32.
269283 .IP "\-b|\fB\-\-binary\-images\fR iso|iso\-hybrid|netboot|tar|hdd" 4
270284 defines the image type to build. By default, for images using syslinux this is set to iso\-hybrid to build CD/DVD images that may also be used like hdd images, for non\-syslinux images, it defaults to iso.
271 .IP "\fB\-\-binary\-filesystem\fR fat16|fat32|ext2|ext3|ext4" 4
272 defines the filesystem to be used in the image type. This only has an effect if the selected binary image type lets you choose a filesystem. For example, when selection iso the resulting CD/DVD has always the filesystem ISO9660. When building hdd images for usb sticks, this is active. Note that it defaults to fat16 on all architectures except sparc where it defaults to ext4. Also note that if you choose fat16 and your resulting binary image gets bigger than 2GB, the binary filesystem automatically gets switched to fat32.
273285 .IP "\fB\-\-bootappend\-install\fR \fIPARAMETER\fR|""\fIPARAMETERS\fR""" 4
274286 sets boot parameters specific to debian\-installer, if included.
275287 .IP "\fB\-\-bootappend\-live\fR \fIPARAMETER\fR|""\fIPARAMETERS\fR""" 4
278290 sets boot parameters specific to debian\-live failsafe boot entries. A complete list of boot parameters can be found in the \fIlive\-boot\fR(7) and \fIlive\-config\fR(7) manual pages.
279291 .IP "\fB\-\-bootloaders\fR grub-legacy|grub-pc|syslinux|grub-efi" 4
280292 defines which bootloader is being used in the generated image. This has only an effect if the selected binary image type lets you choose the bootloader. For example, if you build a iso, always syslinux (or more precise, isolinux) is being used. Also note that some combinations of binary images types and bootloaders may be possible but live\-build does not support them yet. \fBlb config\fR will fail to create such a not yet supported configuration and give a explanation about it. For hdd images on amd64 and i386, the default is syslinux.
293 .IP "\fB\-\-bootstrap\-qemu\-arch \fIARCH\fR" 4
294 sets the architectures to use foreign bootstrap. Defaults to empty.
295 .IP "\fB\-\-bootstrap\-qemu\-exclude \fIPACKAGES\fR" 4
296 sets the packages to exclude during foreign bootstrap. Defaults to empty.
297 .IP "\fB\-\-bootstrap\-qemu\-static \fIPATH\fR" 4
298 sets the static qemu binary for foreign bootstrap. Defaults to empty.
299 .IP "\fB\-\-breakpoints\fR" 4
300 inserts pauses during the generation of the image.
301 .IP "\fB\-\-build\-with\-chroot\fR true|false" 4
302 defines whether live\-build should use the tools from within the chroot to build the binary image or not by using and including the host system's tools. This is a very dangerous option, using the tools of the host system can lead to tainted and even non-bootable images if the host systems version of the required tools (mainly these are the bootloaders such as syslinux and grub, and the auxiliary tools such as dosfstools, xorriso, squashfs-tools and others) do not \fBexactly\fR match what is present at build-time in the target distribution. Never do disable this option unless you are \fBexactly\fR sure what you are doing and have \fBcompletely\fI understood its consequences.
281303 .IP "\fB\-\-cache\fR true|false" 4
282304 defines globally if any cache should be used at all. Different caches can be controlled through the their own options.
283305 .IP "\fB\-\-cache\-indices\fR true|false" 4
284306 defines if downloaded package indices and lists should be cached which is false by default. Enabling it lets you rebuild an image completely offline, however, you would not get updates anymore then.
285307 .IP "\fB\-\-cache\-packages\fR true|false" 4
286308 defines if downloaded packages files should be cached which is true by default. Disabling it does save space consumption in your build directory, but remember that you will cause much unnecessary traffic if you do a couple of rebuilds. In general you should always leave it true, however, in some particular rare build setups, it can be faster to refetch packages from the local network mirror rather than to utilize the local disk.
287 .IP "\fB\-\-cache\-stages\fR true|false|\fISTAGE\fR|""\fISTAGES\fR""" 4
309 .IP "\fB\-\-cache\-stages\fR \fISTAGE\fR|""\fISTAGES\fR""" 4
288310 sets which stages should be cached. By default set to bootstrap. As an exception to the normal stage names, also rootfs can be used here which does only cache the generated root filesystem in filesystem.{dir,ext*,squashfs}. This is useful during development if you want to rebuild the binary stage but not regenerate the root filesystem all the time.
289 .IP "\fB\-\-checksums\fR md5|sha1|sha256|none" 4
290 defines if the binary image should contain a file called md5sums.txt, sha1sums.txt and/or sha256sums.txt. These lists all files on the image together with their checksums. This in turn can be used by live\-boot's built\-in integrity\-check to verify the medium if specified at boot prompt. In general, this should not be false and is an important feature of live system released to the public. However, during development of very big images it can save some time by not calculating the checksums.
291 .IP "\fB\-\-compression\fR bzip2|gzip|lzip|none" 4
292 defines the compression program to be used to compress tarballs. Defaults to gzip.
293 .IP "\fB\-\-config\fR \fIGIT_URL\fR::\fIGIT_ID\fR" 4
294 bootstrap the config tree from a git repository, optionally appended by a Git Id (branch, commit, tag, etc.).
295 .IP "\fB\-\-build\-with\-chroot\fR true|false" 4
296 defines whether live\-build should use the tools from within the chroot to build the binary image or not by using and including the host system's tools. This is a very dangerous option, using the tools of the host system can lead to tainted and even non-bootable images if the host systems version of the required tools (mainly these are the bootloaders such as syslinux and grub, and the auxiliary tools such as dosfstools, xorriso, squashfs-tools and others) do not \fBexactly\fR match what is present at build-time in the target distribution. Never do disable this option unless you are \fBexactly\fR sure what you are doing and have \fBcompletely\fI understood its consequences.
311 .IP "\fB\-\-checksums\fR md5|sha1|sha224|sha256|sha384|sha512|none" 4
312 defines if the binary image should contain a file called XXXsums.txt, where XXX is one of the mentioned checksum types. This file lists all files on the image together with their checksums. This in turn can be used by \fIlive\-boot\fR(7)'s built\-in integrity\-check to verify the medium if specified at boot prompt. In general, this should not be none and is an important feature of live system released to the public. However, during development of very big images it can save some time by not calculating the checksums.
297313 .IP "\fB\-\-chroot\-filesystem\fR ext2|ext3|ext4|squashfs|jffs2|none" 4
298314 defines which filesystem type should be used for the root filesystem image. If you use none, then no filesystem image is created and the root filesystem content is copied on the binary image filesystem as flat files. Depending on what binary filesystem you have chosen, it may not be possible to build with such a plain root filesystem, e.g. fat16/fat32 will not work as linux does not support to run directly on them.
299315 .IP "\fB\-\-clean\fR" 4
300316 minimizes config directory by automatically removing unused and thus empty subdirectories.
317 .IP "\fB\-\-color\fR" 4
318 turns on color in the messages.
319 .IP "\fB\-\-compression\fR bzip2|gzip|lzip|xz|none" 4
320 defines the compression program to be used to compress tarballs. Defaults to none.
301321 .IP "\-c|\fB\-\-conffile\fR \fIFILE\fR" 4
302 using a user specified alternative configuration file in addition to the normally used one in the config directory.
322 uses a user specified alternative configuration file in addition to the normally used one in the config directory.
323 .IP "\fB\-\-config\fR \fIGIT_URL\fR::\fIGIT_BRANCH\fR" 4
324 bootstraps the config tree from a git repository, optionally appended by a Git Id (branch, commit, tag, etc.).
303325 .IP "\fB\-\-debconf\-frontend\fR dialog|editor|noninteractive|readline" 4
304326 defines what value the debconf frontend should be set to inside the chroot. Note that setting it to anything but noninteractive, which is the default, makes your build asking questions during the build.
305327 .IP "\fB\-\-debconf\-priority\fR low|medium|high|critical" 4
308330 defines which type, if any, of the debian\-installer should be included in the resulting binary image. By default, no installer is included. All available flavours except live are the identical configurations used on the installer media produced by regular debian\-cd. When live is chosen, the live\-installer udeb is included so that debian\-installer will behave different than usual \- instead of installing the debian system from packages from the medium or the network, it installs the live system to the disk.
309331 .IP "\fB\-\-debian\-installer\-distribution\fR daily|\fICODENAME\fR" 4
310332 defines the distribution where the debian\-installer files should be taken out from. Normally, this should be set to the same distribution as the live system. However, some times, one wants to use a newer or even daily built installer.
333 .IP "\fB\-\-debian\-installer\-gui\fR true|false" 4
334 defines if the debian\-installer graphical GTK interface should be true or not. In Debian mode and for most versions of Ubuntu, this option is true, whereas otherwise false, by default.
311335 .IP "\fB\-\-debian\-installer\-preseedfile\fR \fIFILE\fR|\fIURL\fR" 4
312336 sets the filename or URL for an optionally used and included preseeding file for debian\-installer. If config/binary_debian\-installer/preseed.cfg exists, it will be used by default.
313 .IP "\fB\-\-debian\-installer\-gui\fR true|false" 4
314 defines if the debian\-installer graphical GTK interface should be true or not. In Debian mode and for most versions of Ubuntu, this option is true, whereas otherwise false, by default.
315337 .IP "\fB\-\-debootstrap\-options\fR \fIOPTIONS\fR" 4
316338 passes the given options to debootstrap when setting up the base system.
317339 .IP "\fB\-\-debootstrap\-script\fR \fISCRIPT\fR" 4
318340 tells debootstrap to use an alternate bootstrap script (last parameter to debootstrap).
319341 .IP "\fB\-\-debug\fR" 4
320 turn on debugging informational messages.
342 turns on debugging informational messages.
321343 .IP "\-d|\fB\-\-distribution\fR \fICODENAME\fR" 4
322344 defines the distribution of the resulting live system.
323 .IP "\-d|\fB\-\-parent\-distribution\fR \fICODENAME\fR" 4
324 defines the parent distribution for derivatives of the resulting live system.
325 .IP "\-d|\fB\-\-parent\-debian\-installer\-distribution\fR \fICODENAME\fR" 4
326 defines the parent debian\-installer distribution for derivatives of the resulting live system.
345 .IP "\fB\-\-distribution\-binary\fR \fICODENAME\fR" 4
346 defines the distribution enabled in the resulting live system (defaults to the value set in \fB\-\-distribution\fR)
347 .IP "\fB\-\-distribution\-chroot\fR \fICODENAME\fR" 4
348 defines the distribution used to build the live system (defaults to the value set in \fB\-\-distribution\fR)
327349 .IP "\fB\-\-dump\fR" 4
328350 prepares a report of the currently present live system configuration and the version of live\-build used. This is useful to provide if you submit bug reports, we do get all information required for us to locate and replicate an error.
329351 .IP "\fB\-\-fdisk\fR fdisk|fdisk.dist" 4
330352 sets the filename of the fdisk binary from the host system that should be used. This is autodetected and does generally not need any customization.
353 .IP "\fB\-\-firmware\-binary\fR true|false" 4
354 includes firmware packages in debian-installer. Defaults to true.
355 .IP "\fB\-\-firmware\-chroot\fR true|false" 4
356 includes firmware packages in debian-installer. Defaults to true.
331357 .IP "\fB\-\-force\fR" 4
332358 forces re\-execution of already run stages. Use only if you know what you are doing. It is generally safer to use \fBlb clean\fR to clean up before re\-executing \fBlb build\fR.
333359 .IP "\fB\-\-grub\-splash\fR \fIFILE\fR" 4
334360 defines the name of an optional to be included splash screen graphic for the grub bootloader.
335361 .IP "\fB\-\-gzip\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4
336362 defines the default options that will be appended to (almost) every gzip call during the building of the image. By default, this is set to \-\-best to use highest (but slowest) compression. Dynamically, if the host system supports it, also \-\-rsyncable is added.
337 .IP "\fB\-\-hooks\fR \fIFILE\fR" 4
338 defines which hooks available in /usr/share/live/build/examples/hooks should be activated. Normally, there are no hooks executed. Make sure you know and understood the hook before you enable it.
363 .IP "\fB\-\-hdd\-label\fR \fILABEL\fR" 4
364 defines the label for the hdd target. Defaults to DEBIAN_LIVE.
365 .IP "\fB\-\-hdd\-partition\-start\fR \fISTART\fR" 4
366 sets the start of the partition for the hdd target for BIOSes that expect a specific boot partition start (e.g. "63s"). If empty, use optimal layout. Defaults to empty.
367 .IP "\fB\-\-hdd\-size\fR \fISIZE\fR" 4
368 defines the size for the hdd target. The unit is MiB. Defaults to auto, which generates the smallest possible image.
339369 .IP "\fB\-\-ignore\-system\-defaults\fR" 4
340370 \fBlb config\fR by default reads system defaults from \fI/etc/live/build.conf\fR and \fI/etc/live/build/*\fR when generating a new live system config directory. This is useful if you want to set global settings, such as mirror locations, and don't want to specify them all of the time.
341 .IP "\fB\-\-initramfs\fR auto|none|live\-boot|casper" 4
342 sets the name of package that contains the live system specific initramfs modification. By default, auto is used, which means that at build time of the image rather than on configuration time, the value will be expanded to casper when building ubuntu systems, to live\-boot for all other systems. Using 'none' is useful if the resulting system image should not be a live image (experimental).
371 .IP "\fB\-\-image\-name\fR \fINAME\fR" 4
372 sets the base name of the image. Defaults to live-image.
373 .IP "\fB\-\-initramfs\fR none|live\-boot" 4
374 sets the name of the package that contains the live system specific initramfs modification and defaults to live\-boot. Using 'none' is useful if the resulting system image should not be a live image (experimental).
343375 .IP "\fB\-\-initramfs\-compression\fR bzip2|gzip|lzma]
344376 defines the compression program to be used to compress the initramfs. Defaults to gzip.
377 .IP "\fB\-\-initsystem\fR sysvinit|systemd|none]
378 defines the init system. Defaults to systemd.
345379 .IP "\fB\-\-interactive\fR shell" 4
346380 defines if after the chroot stage and before the beginning of the binary stage, a interactive shell login should be spawned in the chroot in order to allow you to do manual customizations. Once you close the shell with logout or exit, the build will continue as usual. Note that it's strongly discouraged to use this for anything else than testing. Modifications that should be present in all builds of a live system should be properly made through hooks. Everything else destroys the beauty of being able to completely automatise the build process and making it non interactive. By default, this is of course false.
347 .IP "\fB\-\-isohybrid\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4
348 defines options to pass to isohybrid.
349381 .IP "\fB\-\-iso\-application\fR \fINAME\fR" 4
350382 sets the APPLICATION field in the header of a resulting CD/DVD image and defaults to "Debian Live" in debian mode, and "Ubuntu Live" in ubuntu mode.
351383 .IP "\fB\-\-iso\-preparer\fR \fINAME\fR" 4
352 sets the PREPARER field in the header of a resulting CD/DVD image. By default this is set to "live\-build \fIVERSION\fR; http://debian-live.alioth.debian.org/live\-build", where VERSION is expanded to the version of live\-build that was used to build the image.
384 sets the PREPARER field in the header of a resulting CD/DVD image. By default this is set to "live\-build \fIVERSION\fR; https://salsa.debian.org/live-team/live-build", where VERSION is expanded to the version of live\-build that was used to build the image.
353385 .IP "\fB\-\-iso\-publisher\fR \fINAME\fR" 4
354 sets the PUBLISHED field in the header of a resulting CD/DVD image. By default, this is set to 'Live Systems project; http:/live-systems.org/; debian\[email protected]'. Remember to change this to the appropriate values at latest when you distributing custom and unofficial images.
386 sets the PUBLISHED field in the header of a resulting CD/DVD image. By default, this is set to 'Live Systems project; https://wiki.debian.org/DebianLive; debian\[email protected]'. Remember to change this to the appropriate values at latest when you distributing custom and unofficial images.
355387 .IP "\fB\-\-iso\-volume\fR \fINAME\fR" 4
356388 sets the VOLUME field in the header of a resulting CD/DVD and defaults to '(\fIMODE\fR) (\fIDISTRIBUTION\fR) (\fIDATE\fR)' whereas MODE is expanded to the name of the mode in use, DISTRIBUTION the distribution name, and DATE with the current date and time of the generation.
389 .IP "\fB\-\-isohybrid\-options\fR \fIOPTION\fR|""\fIOPTIONS\fR""" 4
390 defines options to pass to isohybrid.
357391 .IP "\fB\-\-jffs2\-eraseblock\fR \fISIZE\fR" 4
358392 sets the eraseblock size for a JFFS2 (Second Journaling Flash File System) filesystem. The default is 64 KiB. If you use an erase block size different than the erase block size of the target MTD device, JFFS2 may not perform optimally. If the SIZE specified is below 4096, the units are assumed to be KiB.
359393 .IP "\fB\-\-keyring\-packages\fR \fIPACKAGE\fI|""\fIPACKAGES\fR""" 4
360394 sets the keyring package or additional keyring packages. By default this is set to debian\-archive\-keyring.
361395 .IP "\-k|\fB\-\-linux\-flavours\fR \fIFLAVOUR\fR|""\fIFLAVOURS\fR""" 4
362 sets the kernel flavours to be installed. Note that in case you specify more than that the first will be configured the default kernel that gets booted.
396 sets the kernel flavours to be installed. Note that in case you specify more than that the first will be configured the default kernel that gets booted. Optionally you can use an architecture qualifier, e.g. amd64:amd64. Given an i386 system you can enable amd64 foreign architecture thanks to the commands: "dpkg \-\-add\-architecture amd64 ; apt\-get update". This enables you to use "686 amd64:amd64" as a linux flavour. The amd64 kernel will be installed alongside the i386's 686 kernel.
363397 .IP "\fB\-\-linux\-packages\fR ""\fIPACKAGES\fR""" 4
364398 sets the internal name of the kernel packages naming scheme. If you use debian kernel packages, you will not have to adjust it. If you decide to use custom kernel packages that do not follow the debian naming scheme, remember to set this option to the stub of the packages only (for debian this is linux\-image\-2.6), so that \fISTUB\fR-\fIFLAVOUR\fR results in a valid package name (for debian e.g. linux\-image\-686\-pae). Preferably you use the meta package name, if any, for the stub, so that your configuration is ABI independent. Also don't forget that you have to include stubs of the binary modules packages for unionfs or aufs, and squashfs if you built them out-of-tree.
399 .IP "\fB\-\-loadlin\fR true|false" 4
400 sets loadlin. Defaults to false, except when the debian-installer is included for x86_64 or i386.
365401 .IP "\fB\-\-losetup\fR losetup|losetup.orig" 4
366402 sets the filename of the losetup binary from the host system that should be used. This is autodetected and does generally not need any customization.
367403 .IP "\fB\-\-memtest\fR memtest86+|memtest86|none" 4
368404 defines if memtest, memtest86+ or no memory tester at all should be included as secondary bootloader configuration. This is only available on amd64 and i386 and defaults to memtest86+.
369 .IP "\-m|\fB\-\-parent\-mirror\-bootstrap\fR \fIURL\fR" 4
370 sets the location of the debian package mirror that should be used to bootstrap from. This defaults to http://ftp.de.debian.org/debian/ which may not be a good default if you live outside of Europe.
371 .IP "\fB\-\-parent\-mirror\-chroot\fR \fIURL\fR" 4
372 sets the location of the debian package mirror that will be used to fetch the packages in order to build the live system. By default, this is set to the value of \-\-parent\-mirror\-bootstrap.
373 .IP "\fB\-\-parent\-mirror\-chroot\-security\fR \fIURL\fR" 4
374 sets the location of the debian security package mirror that will be used to fetch the packages in order to build the live system. By default, this points to http://security.debian.org/debian/.
375 .IP "\fB\-\-parent\-mirror\-chroot\-updates\fR \fIURL\fR" 4
376 sets the location of the debian updates package mirror that will be used to fetch packages in order to build the live system. By default, this is set to the value of \-\-parent\-mirror\-chroot.
377 .IP "\fB\-\-parent\-mirror\-chroot\-backports\fR \fIURL\fR" 4
378 sets the location of the debian backports package mirror that will be used to fetch packages in order to build the live system. By default, this points to http://backports.debian.org/debian-backports/.
379 .IP "\fB\-\-parent\-mirror\-binary\fR \fIURL\fR" 4
380 sets the location of the debian package mirror that should end up configured in the final image and which is the one a user would see and use. This has not necessarily to be the same that is used to build the image, e.g. if you use a local mirror but want to have an official mirror in the image. By default, 'http://httpredir.debian.org/debian/' is used.
381 .IP "\fB\-\-parent\-mirror\-binary\-security\fR \fIURL\fR" 4
382 sets the location of the debian security package mirror that should end up configured in the final image. By default, 'http://security.debian.org/' is used.
383 .IP "\fB\-\-parent\-mirror\-binary\-updates\fR \fIURL\fR" 4
384 sets the location of the debian updates package mirror that should end up configured in the final image. By default, the value of \-\-parent\-mirror\-binary is used.
385 .IP "\fB\-\-parent\-mirror\-binary\-backports\fR \fIURL\fR" 4
386 sets the location of the debian backports package mirror that should end up configured in the final image. By default, 'http://backports.debian.org/debian-backports/' is used.
387 .IP "\fB\-\-parent\-mirror\-debian\-installer\fR \fIURL\fR" 4
388 sets the location of the mirror that will be used to fetch the debian installer images. By default, this points to the same mirror used to build the live system, i.e. the value of \-\-parent\-mirror\-bootstrap.
405 .IP "\fB\-\-mirror\-binary\fR \fIURL\fR" 4
406 sets the location of the derivative package mirror that should end up configured in the final image and which is the one a user would see and use. This has not necessarily to be the same that is used to build the image, e.g. if you use a local mirror but want to have an official mirror in the image. This defaults to http://deb.debian.org/debian/.
407 .IP "\fB\-\-mirror\-binary\-security\fR \fIURL\fR" 4
408 sets the location of the derivatives security package mirror that should end up configured in the final image. This defaults to http://security.debian.org/.
389409 .IP "\fB\-\-mirror\-bootstrap\fR \fIURL\fR" 4
390 sets the location of the debian package mirror that should be used to bootstrap the derivative from. This defaults to http://ftp.de.debian.org/debian/ which may not be a good default if you live outside of Europe.
410 sets the location of the debian package mirror that should be used to bootstrap the derivative from. This defaults to http://deb.debian.org/debian/.
391411 .IP "\fB\-\-mirror\-chroot\fR \fIURL\fR" 4
392412 sets the location of the debian package mirror that will be used to fetch the packages of the derivative in order to build the live system. By default, this is set to the value of \-\-mirror\-bootstrap.
393413 .IP "\fB\-\-mirror\-chroot\-security\fR \fIURL\fR" 4
394 sets the location of the debian security package mirror that will be used to fetch the packages of the derivative in order to build the live system. By default, this points to http://security.debian.org/debian/.
395 .IP "\fB\-\-mirror\-chroot\-updates\fR \fIURL\fR" 4
396 sets the location of the debian updates package mirror that will be used to fetch packages of the derivative in order to build the live system. By default, this is set to the value of \-\-mirror\-chroot.
397 .IP "\fB\-\-mirror\-chroot\-backports\fR \fIURL\fR" 4
398 sets the location of the debian backports package mirror that will be used to fetch packages of the derivative in order to build the live system. By default, this points to http://backports.debian.org/debian-backports/.
399 .IP "\fB\-\-mirror\-binary\fR \fIURL\fR" 4
400 sets the location of the derivative package mirror that should end up configured in the final image and which is the one a user would see and use. This has not necessarily to be the same that is used to build the image, e.g. if you use a local mirror but want to have an official mirror in the image.
401 .IP "\fB\-\-mirror\-binary\-security\fR \fIURL\fR" 4
402 sets the location of the derivatives security package mirror that should end up configured in the final image.
403 .IP "\fB\-\-mirror\-binary\-updates\fR \fIURL\fR" 4
404 sets the location of the derivatives updates package mirror that should end up configured in the final image.
405 .IP "\fB\-\-mirror\-binary\-backports\fR \fIURL\fR" 4
406 sets the location of the derivatives backports package mirror that should end up configured in the final image.
414 sets the location of the debian security package mirror that will be used to fetch the packages of the derivative in order to build the live system. By default, this points to http://security.debian.org/.
407415 .IP "\fB\-\-mirror\-debian\-installer\fR \fIURL\fR" 4
408 sets the location of the mirror that will be used to fetch the debian installer images of the derivative. By default, this points to the same mirror used to build the live system, i.e. the value of \-\-mirror\-bootstrap.
409 .IP "\fB\-\-mode\fR debian|progress|ubuntu" 4
416 sets the location of the mirror that will be used to fetch the debian installer images of the derivative. By default, this points to the same mirror used to build the live system, i.e. the value of \-\-mirror\-chroot.
417 .IP "\fB\-\-mode\fR debian|progress-linux" 4
410418 defines a global mode to load project specific defaults. By default this is set to debian.
411 .IP "\fB\-\-system\fR live|normal" 4
412 defines if the resulting system image should a live system or a normal, non-live system.
419 .IP "\fB\-\-net\-cow\-filesystem\fR nfs|cfs" 4
420 defines the filesystem type for the copy\-on\-write layer and defaults to nfs.
421 .IP "\fB\-\-net\-cow\-mountoptions\fR \fIOPTIONS\fR" 4
422 sets additional options for mounting the copy\-on\-write layer in netboot images and is by default empty.
423 .IP "\fB\-\-net\-cow\-path\fR \fIPATH\fR" 4
424 defines the path to client writable filesystem. Anywhere that \fIclient_mac_address\fR is specified in the path live\-boot will substitute the MAC address of the client delimited with hyphens.
425 .PP
426 .IP "" 4
427 Example:
428 .br
429 /export/hosts/client_mac_address
430 .br
431 /export/hosts/00\-16\-D3\-33\-92\-E8
432 .IP "\fB\-\-net\-cow\-server\fR \fIIP\fR|\fIHOSTNAME\fR" 4
433 sets the IP or hostname that will be configured in the bootloader configuration for the copy\-on\-write filesystem of your netboot image and is by default empty.
413434 .IP "\fB\-\-net\-root\-filesystem\fR nfs|cfs" 4
414435 defines the filesystem that will be configured in the bootloader configuration for your netboot image. This defaults to nfs.
415436 .IP "\fB\-\-net\-root\-mountoptions\fR \fIOPTIONS\fR" 4
418439 sets the file path that will be configured in the bootloader configuration for your netboot image. This defaults to /srv/debian\-live in debian mode, and /srv/ubuntu-live when in ubuntu mode.
419440 .IP "\fB\-\-net\-root\-server\fR \fIIP\fR|\fIHOSTNAME\fR" 4
420441 sets the IP or hostname that will be configured in the bootloader configuration for the root filesystem of your netboot image. This defaults to 192.168.1.1.
421 .IP "\fB\-\-net\-cow\-filesystem\fR nfs|cfs" 4
422 defines the filesystem type for the copy\-on\-write layer and defaults to nfs.
423 .IP "\fB\-\-net\-cow\-mountoptions\fR \fIOPTIONS\fR" 4
424 sets additional options for mounting the copy\-on\-write layer in netboot images and is by default empty.
425 .IP "\fB\-\-net\-cow\-path\fR \fIPATH\fR" 4
426 defines the path to client writable filesystem. Anywhere that \fIclient_mac_address\fR is specified in the path live\-boot will substitute the MAC address of the client delimited with hyphens.
427 .PP
428 .IP "" 4
429 Example:
430 .br
431 /export/hosts/client_mac_address
432 .br
433 /export/hosts/00\-16\-D3\-33\-92\-E8
434 .IP "\fB\-\-net\-cow\-server\fR \fIIP\fR|\fIHOSTNAME\fR" 4
435 sets the IP or hostname that will be configured in the bootloader configuration for the copy\-on\-write filesystem of your netboot image and is by default empty.
436442 .IP "\fB\-\-net\-tarball\fR true|false" 4
437443 defines if a compressed tarball should be created. Disabling this options leads to no tarball at all, the plain binary directory is considered the output in this case. Default is true.
438444 .IP "\fB\-\-onie\fR true|false" 4
439445 defines if an ONIE.bin image is generated. ONIE binaries can be loaded by supported systems, and will in turn boot the live image. Note that iso or hybrid-iso are the only formats supported. For more information visit <\fIhttp://onie.org/\fR>. Default is false.
440446 .IP "\fB\-\-onie\-kernel\-cmdline\fR \fI""OPTION1 OPTION2""\fR" 4
441447 defines additional kernel command line options that the ONIE system will use when booting the image. Default is empty string.
448 .IP "\fB\-\-parent\-archive\-areas\fR \fIARCHIVE_AREA\fR|""\fIARCHIVE_AREAS\fR""" 4
449 defines the archive areas for derivatives of the resulting live system.
450 .IP "\fB\-\-parent\-debian\-installer\-distribution\fR \fICODENAME\fR" 4
451 defines the parent debian\-installer distribution for derivatives of the resulting live system.
452 .IP "\fB\-\-parent\-distribution\fR \fICODENAME\fR" 4
453 defines the parent distribution for derivatives of the resulting live system.
454 .IP "\fB\-\-parent\-distribution\-binary\fR \fICODENAME\fR" 4
455 defines the derivative's parent distribution enabled in the resulting live system.
456 .IP "\fB\-\-parent\-distribution\-chroot\fR \fICODENAME\fR" 4
457 defines the derivative's parent distribution used to build the live system.
458 .IP "\fB\-\-parent\-mirror\-binary\fR \fIURL\fR" 4
459 sets the location of the debian package mirror that should end up configured in the final image and which is the one a user would see and use. This has not necessarily to be the same that is used to build the image, e.g. if you use a local mirror but want to have an official mirror in the image. This defaults to the value of \-\-mirror\-binary.
460 .IP "\fB\-\-parent\-mirror\-binary\-security\fR \fIURL\fR" 4
461 sets the location of the debian security package mirror that should end up configured in the final image. This defaults to the value of \-\-mirror\-binary\-security.
462 .IP "\-m|\fB\-\-parent\-mirror\-bootstrap\fR \fIURL\fR" 4
463 sets the location of the debian package mirror that should be used to bootstrap from. This defaults to the value of \-\-mirror-\bootstrap.
464 .IP "\fB\-\-parent\-mirror\-chroot\fR \fIURL\fR" 4
465 sets the location of the debian package mirror that will be used to fetch the packages in order to build the live system. This defaults to the value of \-\-parent\-mirror\-bootstrap.
466 .IP "\fB\-\-parent\-mirror\-chroot\-security\fR \fIURL\fR" 4
467 sets the location of the debian security package mirror that will be used to fetch the packages in order to build the live system. This defaults to the value of \-\-mirror\-chroot\-security.
468 .IP "\fB\-\-parent\-mirror\-debian\-installer\fR \fIURL\fR" 4
469 sets the location of the mirror that will be used to fetch the debian installer images. This defaults to the value of \-\-parent\-mirror\-chroot.
442470 .IP "\fB\-\-quiet\fR" 4
443471 reduces the verbosity of messages output by \fBlb build\fR.
444 .IP "\fB\-\-archive\-areas\fR \fIARCHIVE_AREA\fR|""\fIARCHIVE_AREAS\fR""" 4
445 defines which package archive areas of a debian packages archive should be used for configured debian package mirrors. By default, this is set to main. Remember to check the licenses of each packages with respect to their redistributability in your juristiction when enabling contrib or non\-free with this mechanism.
446 .IP "\fB\-\-parent\-archive\-areas\fR \fIPARENT_ARCHIVE_AREA\fR|""\fIPARENT_ARCHIVE_AREAS\fR""" 4
447 defines the archive areas for derivatives of the resulting live system.
448472 .IP "\fB\-\-security\fR true|false" 4
449473 defines if the security repositories specified in the security mirror options should be used or not.
450474 .IP "\fB\-\-source\fR true|false" 4
451475 defines if a corresponding source image to the binary image should be build. By default this is false because most people do not require this and would require to download quite a few source packages. However, once you start distributing your live image, you should make sure you build it with a source image alongside.
452476 .IP "\-s|\fB\-\-source\-images\fR iso|netboot|tar|hdd" 4
453477 defines the image type for the source image. Default is tar.
454 .IP "\fB\-\-firmware\-binary\fR true|false" 4
455 defines if firmware packages should be automatically included into the binary pool for debian\-installer. Note that only firmware packages available within the configured archive areas are included, e.g. an image with packages from main only will not automatically include firmware from non\-free. This option does not interfere with explicitly listed packages in binary package lists.
456 .IP "\fB\-\-firmware\-chroot\fR true|false" 4
457 defines if firmware packages should be automatically included into the live image. Note that only firmware packages available within the configured archive areas are included, e.g. an image with packages from main only will not automatically include firmware from non\-free. This option does not interfere with explicitly listed packages in chroot package lists.
458478 .IP "\fB\-\-swap\-file\-path\fR \fIPATH\fR" 4
459479 defines the path to a swap file to create in the binary image. Default is not to create a swap file.
460480 .IP "\fB\-\-swap\-file\-size\fR \fIMB\fR" 4
461481 defines what size in megabytes the swap file should be, if one is to be created. Default is 512MB.
482 .IP "\fB\-\-system\fR live|normal" 4
483 defines if the resulting system image should a live system or a normal, non-live system.
462484 .IP "\fB\-\-tasksel\fR apt|aptitude|tasksel" 4
463485 selects which program is used to install tasks. By default, this is set to tasksel.
464 .IP "\fB\-\-templates\fR \fIPATH\fR" 4
465 sets the path to the templates that live\-build is going to use, e.g. for bootloaders. By default, this is set to /usr/share/live/build/templates/.
466486 .IP "\fB\-\-uefi\-secure\-boot\fR \fIauto|enable|disable\fR" 4
467487 enables or disables Secure Boot support when using grub-efi, by installing signed shim and grub-efi packages. By default, this is set to auto, which means if the packages are available they will be installed, but if not only a warning will be printed and the normal non-signed grub-efi will be used.
468 .IP "\fB\-\-hdd\-size\fR MB" 4
469 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.
470488 .IP "\fB\-\-updates\fR true|false" 4
471489 defines if debian updates package archives should be included in the image or not.
472 .IP "\fB\-\-backports\fR true|false" 4
473 defines if debian backports package archives should be included in the image or not.
474490 .IP "\fB\-\-verbose\fR" 4
475491 increases the verbosity of messages output by \fBlb build\fR.
476 .IP "\fB\-\-win32\-loader true|false" 4
492 .IP "\fB\-\-win32\-loader\fR true|false" 4
477493 defines if win32\-loader should be included in the binary image or not.
494 .IP "\fB\-\-zsync\fR true|false" 4
495 defines whether a file for distributing the image in \fIzsync\fR(1) format will be generated. Defaults to true.
478496 .\" FIXME
479497
480498 .SH ENVIRONMENT
499517 This program is a part of live\-build.
500518
501519 .SH HOMEPAGE
502 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://debian-live.alioth.debian.org/\fR>.
520 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://wiki.debian.org/DebianLive\fR>.
503521
504522 .SH BUGS
505523 Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\[email protected]\fR>.
2222 This program is a part of live\-build.
2323
2424 .SH HOMEPAGE
25 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://debian-live.alioth.debian.org/\fR>.
25 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://wiki.debian.org/DebianLive\fR>.
2626
2727 .SH BUGS
2828 Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\[email protected]\fR>.
2222 This program is a part of live\-build.
2323
2424 .SH HOMEPAGE
25 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://debian-live.alioth.debian.org/\fR>.
25 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://wiki.debian.org/DebianLive\fR>.
2626
2727 .SH BUGS
2828 Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\[email protected]\fR>.
1313 .PP
1414 The \fICOMMAND\fR is a name of a live\-build command (see below).
1515 .PP
16 More documentation about how to use live\-build is available in the individual manpages for each helper and in the manual at <\fIhttps://debian-live.alioth.debian.org/manual/\fR>.
16 More documentation about how to use live\-build is available in the individual manpages for each helper and in the manual at <\fIhttps://live-team.pages.debian.net/live-manual/\fR>.
1717 .\" FIXME
1818
1919 .SH OPTIONS
237237 This program is a part of live\-build.
238238
239239 .SH HOMEPAGE
240 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://debian-live.alioth.debian.org/\fR>.
240 More information about live\-build and the Live Systems project can be found on the homepage at <\fIhttps://wiki.debian.org/DebianLive\fR>.
241241
242242 .SH BUGS
243243 Bugs can be reported by submitting a bugreport for the live\-build package in the Bug Tracking System at <\fIhttp://bugs.debian.org/\fR> or by writing a mail to the Live Systems mailing list at <\[email protected]\fR>.
6767 lb binary_loadlin ${@}
6868 lb binary_win32-loader ${@}
6969 lb binary_includes ${@}
70 lb binary_grub-efi ${@}
7071 lb binary_hooks ${@}
71 lb binary_grub-efi ${@}
7272 lb binary_checksums ${@}
7373
7474 if [ "${LB_BUILD_WITH_CHROOT}" != "true" ]
174174
175175 KERNEL_LIVE="/${INITFS}/${DEFAULT_KERNEL}"
176176 INITRD_LIVE="/${INITFS}/${DEFAULT_INITRD}"
177 APPEND_LIVE="${LB_BOOTAPPEND_LIVE}"
177 APPEND_LIVE="${LB_BOOTAPPEND_LIVE} findiso=\${iso_path}"
178178
179179 # Assembling kernel configuration
180180 _AMD64_686_NUMBER="0"
7070 fi
7171
7272 mkdir -p chroot/binary.deb/archives/partial
73 mv chroot/var/lib/dpkg/status chroot/var/lib/dpkg/status.tmp
74 touch chroot/var/lib/dpkg/status
7573
7674 for LIST in config/package-lists/*.list \
7775 config/package-lists/*.list.binary
8280 Expand_packagelist "${LIST}" "config/package-lists" > chroot/root/"$(basename ${LIST})"
8381
8482 # Downloading additional packages
85 Chroot chroot "xargs --no-run-if-empty --arg-file=/root/$(basename ${LIST}) apt-get ${APT_OPTIONS} -o Dir::Cache=/binary.deb --download-only install"
83 Chroot chroot "xargs --no-run-if-empty --arg-file=/root/$(basename ${LIST}) apt-get ${APT_OPTIONS} -o Dir::Cache=/binary.deb -o Dir::State::status=/dev/null --download-only install"
8684
8785 # Remove package list
8886 rm chroot/root/"$(basename ${LIST})"
130128 mv "${FILE}" binary/${POOL}/${SECTION}/"${LETTER}"/"${SOURCE}"
131129 done
132130
131 if [ -e chroot/etc/os-release ]
132 then
133 _VERSION="$(. chroot/etc/os-release && echo ${VERSION_ID})"
134 fi
135
136 if [ -n "${_VERSION}" ]; then
137 _LB_APT_VERSION_OPT='-o APT::FTPArchive::Release::Version="'"${_VERSION}"'"'
138 fi
139
133140 cd binary
134141
135142 for SECTION in ${POOL}/*
145152 gzip -9 -c ${DISTS}/${LB_PARENT_DISTRIBUTION_BINARY}/${SECTION}/binary-${LB_ARCHITECTURES}/Packages > ${DISTS}/${LB_PARENT_DISTRIBUTION_BINARY}/${SECTION}/binary-${LB_ARCHITECTURES}/Packages.gz
146153 done
147154
155 if [ -d dists/${LB_PARENT_DISTRIBUTION_BINARY} ]; then
156 apt-ftparchive \
157 -o APT::FTPArchive::Release::Origin="Debian" \
158 -o APT::FTPArchive::Release::Label="Debian" \
159 -o APT::FTPArchive::Release::Suite="${LB_PARENT_DISTRIBUTION_BINARY}" \
160 ${_LB_APT_VERSION_OPT} \
161 -o APT::FTPArchive::Release::Codename="${LB_PARENT_DISTRIBUTION_BINARY}" \
162 -o APT::FTPArchive::Release::Date="$(date -R)" \
163 -o APT::FTPArchive::Release::Architectures="${LB_ARCHITECTURES}" \
164 -o APT::FTPArchive::Release::Components="${LB_PARENT_ARCHIVE_AREAS}" \
165 -o APT::FTPArchive::Release::Description="Last updated: $(date -R)" \
166 release dists/${LB_PARENT_DISTRIBUTION_BINARY} \
167 > dists/${LB_PARENT_DISTRIBUTION_BINARY}/Release
168 fi
169
148170 cd "${OLDPWD}"
149171
150172 rm -f chroot/bin/Packages
151173
152174 rm -rf chroot/binary.deb
153 mv chroot/var/lib/dpkg/status.tmp chroot/var/lib/dpkg/status
154175
155176 # Removing depends
156177 Remove_package
211211 fi
212212 done
213213
214 # Check local archive keys (chroot)
215 if Find_files config/archives/*.key || \
216 Find_files config/archives/*.key.chroot
217 then
218 for FILE in config/archives/*.key \
219 config/archives/*.key.chroot
220 do
221 if [ -e "${FILE}" ]
222 then
223 if grep -q "PGP PUBLIC KEY BLOCK" "${FILE}"
224 then
225 cp ${FILE} chroot/etc/apt/trusted.gpg.d/$(basename ${FILE}).asc
226 else
227 cp ${FILE} chroot/etc/apt/trusted.gpg.d/$(basename ${FILE}).gpg
228 fi
229 fi
230 done
231 fi
232
214233 # Configure local package repository
215234 if Find_files config/packages.chroot/*.deb || Find_files config/packages/*.deb
216235 then
343362 Chroot chroot "apt-get ${APT_OPTIONS} install aptitude"
344363 fi
345364 else # Get fresh indices
346 # Check local archive keys
347 if Find_files config/archives/*.key || \
348 Find_files config/archives/*.key.chroot
349 then
350 for FILE in config/archives/*.key \
351 config/archives/*.key.chroot
352 do
353 if [ -e "${FILE}" ]
354 then
355 if grep -q "PGP PUBLIC KEY BLOCK" "${FILE}"
356 then
357 cp ${FILE} chroot/etc/apt/trusted.gpg.d/$(basename ${FILE}).asc
358 else
359 cp ${FILE} chroot/etc/apt/trusted.gpg.d/$(basename ${FILE}).gpg
360 fi
361 fi
362 done
363 fi
364
365365 # Check local keyring packages
366366 if Find_files config/archives/*.deb
367367 then
4747 # ;;
4848 #esac
4949
50 for FLAVOUR in ${LB_LINUX_FLAVOURS}
50 for FLAVOUR in ${LB_LINUX_FLAVOURS_WITH_ARCH}
5151 do
5252 for PACKAGE in ${LB_LINUX_PACKAGES}
5353 do
5252 systemd)
5353 _PACKAGES="${_PACKAGES} systemd-sysv"
5454
55 if [ -e chroot/var/lib/dpkg/info/sysvinit.list ]
55 if Chroot_has_package sysvinit
5656 then
5757 Chroot chroot "dpkg --force-remove-essential --purge sysvinit"
5858 fi
6161 sysvinit)
6262 _PACKAGES="${_PACKAGES} sysvinit"
6363
64 if [ -e chroot/var/lib/dpkg/info/systemd-sysv.list ]
64 if Chroot_has_package systemd-sysv
6565 then
6666 Chroot chroot "dpkg --force-remove-essential --purge systemd systemd-sysv"
6767 fi
2020 \t [--apt-http-proxy URL]\n\
2121 \t [--apt-indices true|false]\n\
2222 \t [--apt-options OPTION|\"OPTIONS\"]\n\
23 \t [--aptitude-options OPTION|\"OPTIONS\"]\n\
2423 \t [--apt-pipeline DEPTH]\n\
2524 \t [--apt-recommends true|false]\n\
2625 \t [--apt-secure true|false]\n\
2726 \t [--apt-source-archives true|false]\n\
27 \t [--aptitude-options OPTION|\"OPTIONS\"]\n\
2828 \t [-a|--architectures ARCHITECTURE]\n\
29 \t [--archive-areas ARCHIVE_AREA|\"ARCHIVE_AREAS\"]\n\
30 \t [--backports true|false]\n\
31 \t [--binary-filesystem fat16|fat32|ext2|ext3|ext4|ntfs]\n\
2932 \t [-b|--binary-images iso|iso-hybrid|netboot|tar|hdd]\n\
30 \t [--binary-filesystem fat16|fat32|ext2|ext3|ext4|ntfs]\n\
3133 \t [--bootappend-install PARAMETER|\"PARAMETERS\"]\n\
3234 \t [--bootappend-live PARAMETER|\"PARAMETERS\"]\n\
3335 \t [--bootappend-live-failsafe PARAMETER|\"PARAMETERS\"]\n\
3436 \t [--bootloaders grub-legacy|grub-pc|syslinux|grub-efi]\n\
37 \t [--bootstrap-qemu-arch ARCH]\n\
38 \t [--bootstrap-qemu-exclude PACKAGES]\n\
39 \t [--bootstrap-qemu-static PATH]\n\
40 \t [--breakpoints]\n\
41 \t [--build-with-chroot true|false]\n\
3542 \t [--cache true|false]\n\
3643 \t [--cache-indices true|false]\n\
3744 \t [--cache-packages true|false]\n\
3845 \t [--cache-stages STAGE|\"STAGES\"]\n\
39 \t [--checksums md5|sha1|sha256|sha512|none]\n\
46 \t [--checksums md5|sha1|sha224|sha256|sha384|sha512|none]\n\
47 \t [--chroot-filesystem ext2|ext3|ext4|squashfs|jffs2|none]\n\
48 \t [--clean]\n\
49 \t [--color]\n\
4050 \t [--compression bzip2|gzip|lzip|xz|none]\n\
51 \t [-c|--conffile FILE]\n\
4152 \t [--config GIT_URL::GIT_BRANCH]\n\
42 \t [--zsync true|false]\n\
43 \t [--build-with-chroot true|false]\n\
44 \t [--chroot-filesystem ext2|ext3|ext4|squashfs|jffs2|none]\n\
45 \t [--clean\n\
46 \t [-c|--conffile FILE]\n\
4753 \t [--debconf-frontend dialog|editor|noninteractive|readline]\n\
4854 \t [--debconf-priority low|medium|high|critical]\n\
4955 \t [--debian-installer true|cdrom|netinst|netboot|businesscard|live|false]\n\
5056 \t [--debian-installer-distribution daily|CODENAME]\n\
57 \t [--debian-installer-gui true|false]\n\
5158 \t [--debian-installer-preseedfile FILE|URL]\n\
52 \t [--debian-installer-gui true|false]\n\
5359 \t [--debootstrap-options OPTIONS]\n\
5460 \t [--debootstrap-script SCRIPT]\n\
5561 \t [--debug]\n\
5662 \t [-d|--distribution CODENAME]\n\
57 \t [--parent-distribution CODENAME]\n\
58 \t [--parent-debian-installer-distribution CODENAME]\n\
63 \t [--distribution-binary CODENAME]\n\
5964 \t [--distribution-chroot CODENAME]\n\
60 \t [--parent-distribution-chroot CODENAME]\n\
61 \t [--distribution-binary CODENAME]\n\
62 \t [--parent-distribution-binary CODENAME]\n\
6365 \t [--dump]\n\
6466 \t [--fdisk fdisk|fdisk.dist]\n\
67 \t [--firmware-binary true|false]\n\
68 \t [--firmware-chroot true|false]\n\
6569 \t [--force]\n\
6670 \t [--grub-splash FILE]\n\
6771 \t [--gzip-options OPTION|\"OPTIONS\"]\n\
72 \t [--hdd-label LABEL]\n\
73 \t [--hdd-partition-start START]\n\
74 \t [--hdd-size SIZE]\n\
6875 \t [--ignore-system-defaults]\n\
69 \t [--initramfs auto|none|live-boot]\n\
76 \t [--image-name NAME]\n\
77 \t [--initramfs none|live-boot]\n\
7078 \t [--initramfs-compression bzip2|gzip|lzma]\n\
7179 \t [--initsystem sysvinit|systemd|none]\n\
72 \t [--image-name [NAME]\n\
7380 \t [--interactive shell]\n\
74 \t [--isohybrid-options OPTION|\"OPTIONS\"]\n\
75 \t [--hdd-label LABEL]\n\
76 \t [--hdd-size MB]\n\
77 \t [--hdd-partition-start [parted unit, e.g. 63s]\n\
7881 \t [--iso-application NAME]\n\
7982 \t [--iso-preparer NAME]\n\
8083 \t [--iso-publisher NAME]\n\
8184 \t [--iso-volume NAME]\n\
85 \t [--isohybrid-options OPTION|\"OPTIONS\"]\n\
8286 \t [--jffs2-eraseblock SIZE]\n\
8387 \t [--keyring-packages PACKAGE|\"PACKAGES\"]\n\
8488 \t [-k|--linux-flavours FLAVOUR|\"FLAVOURS\"]\n\
8589 \t [--linux-packages \"PACKAGES\"]\n\
90 \t [--loadlin true|false]\n\
8691 \t [--losetup losetup|losetup.orig]\n\
8792 \t [--memtest memtest86+|memtest86|none]\n\
88 \t [-m|--parent-mirror-bootstrap URL]\n\
89 \t [--parent-mirror-chroot URL]\n\
90 \t [--parent-mirror-chroot-security URL]\n\
91 \t [--parent-mirror-binary URL]\n\
92 \t [--parent-mirror-binary-security URL]\n\
93 \t [--parent-mirror-debian-installer URL]\n\
93 \t [--mirror-binary URL]\n\
94 \t [--mirror-binary-security URL]\n\
9495 \t [--mirror-bootstrap URL]\n\
9596 \t [--mirror-chroot URL]\n\
9697 \t [--mirror-chroot-security URL]\n\
97 \t [--mirror-binary URL]\n\
98 \t [--mirror-binary-security URL]\n\
9998 \t [--mirror-debian-installer URL]\n\
100 \t [--mode debian]\n\
101 \t [--system live|normal]\n\
99 \t [--mode debian|progress-linux]\n\
100 \t [--net-cow-filesystem nfs|cfs]\n\
101 \t [--net-cow-mountoptions OPTIONS]\n\
102 \t [--net-cow-path PATH]\n\
103 \t [--net-cow-server IP|HOSTNAME]\n\
102104 \t [--net-root-filesystem nfs|cfs]\n\
103105 \t [--net-root-mountoptions OPTIONS]\n\
104106 \t [--net-root-path PATH]\n\
105107 \t [--net-root-server IP|HOSTNAME]\n\
106 \t [--net-cow-filesystem nfs|cfs]\n\
107 \t [--net-cow-mountoptions OPTIONS]\n\
108 \t [--net-cow-path PATH]\n\
109 \t [--net-cow-server IP|HOSTNAME]\n\
110108 \t [--net-tarball true|false]\n\
111109 \t [--onie true|false]\n\
112110 \t [--onie-kernel-cmdline \"OPTION1 OPTION2\"]\n\
111 \t [--parent-archive-areas ARCHIVE_AREA|\"ARCHIVE_AREAS\"]\n\
112 \t [--parent-debian-installer-distribution CODENAME]\n\
113 \t [--parent-distribution CODENAME]\n\
114 \t [--parent-distribution-binary CODENAME]\n\
115 \t [--parent-distribution-chroot CODENAME]\n\
116 \t [--parent-mirror-binary URL]\n\
117 \t [--parent-mirror-binary-security URL]\n\
118 \t [-m|--parent-mirror-bootstrap URL]\n\
119 \t [--parent-mirror-chroot URL]\n\
120 \t [--parent-mirror-chroot-security URL]\n\
121 \t [--parent-mirror-debian-installer URL]\n\
113122 \t [--quiet]\n\
114 \t [--archive-areas ARCHIVE_AREA|\"ARCHIVE_AREAS\"]\n\
115 \t [--parent-archive-areas ARCHIVE_AREA|\"ARCHIVE_AREAS\"]\n\
116123 \t [--security true|false]\n\
117124 \t [--source true|false]\n\
118125 \t [-s|--source-images iso|netboot|tar|hdd]\n\
119 \t [--firmware-binary true|false]\n\
120 \t [--firmware-chroot true|false]\n\
121126 \t [--swap-file-path PATH]\n\
122127 \t [--swap-file-size MB]\n\
128 \t [--system live|normal]\n\
123129 \t [--tasksel apt|aptitude|tasksel]\n\
124130 \t [--uefi-secure-boot auto|enable|disable]\n\
125131 \t [--updates true|false]\n\
126 \t [--backports true|false]\n\
127132 \t [--verbose]\n\
128 \t [--loadlin true|false]\n\
129133 \t [--win32-loader true|false]\n\
130 \t [--bootstrap-qemu-exclude PACKAGES]\n\
131 \t [--bootstrap-qemu-static PATH]\n\
132 \t [--bootstrap-qemu-arch ARCH]"
134 \t [--zsync true|false]"
133135
134136
135137 Local_arguments ()
136138 {
137139 LONG_OPTIONS="apt:,apt-ftp-proxy:,apt-http-proxy:,apt-options:,aptitude-options:,debootstrap-options:,debootstrap-script:,
138 apt-pipeline:,apt-recommends:,apt-secure:,apt-source-archives:,bootstrap:,cache:,cache-indices:,cache-packages:,
140 apt-pipeline:,apt-recommends:,apt-secure:,apt-source-archives:,cache:,cache-indices:,cache-packages:,
139141 cache-stages:,debconf-frontend:,debconf-priority:,dump,
140142 initramfs:,initramfs-compression:,initsystem:,fdisk:,losetup:,mode:,system:,tasksel:,
141143 architectures:,clean,
155157 iso-volume:,jffs2-eraseblock:,memtest:,net-root-filesystem:,net-root-mountoptions:,
156158 net-root-path:,net-root-server:,net-cow-filesystem:,net-cow-mountoptions:,net-cow-path:,
157159 net-cow-server:,net-tarball:,onie:,onie-kernel-cmdline:,firmware-binary:,firmware-chroot:,swap-file-path:,swap-file-size:,
158 loadlin:,win32-loader:,source:,source-images:,breakpoints,conffile:,debug,force,
160 loadlin:,win32-loader:,source:,source-images:,breakpoints,conffile:,color,debug,force,
159161 help,ignore-system-defaults,quiet,usage,verbose,version,bootstrap-qemu-static:,bootstrap-qemu-arch:,
160162 uefi-secure-boot:,
161163 bootstrap-qemu-exclude:"
162164 # Remove spaces added by indentation
163165 LONG_OPTIONS="$(echo ${LONG_OPTIONS} | tr -d ' ')"
164 ARGUMENTS="$(getopt --longoptions ${LONG_OPTIONS} --name="${PROGRAM}" --options a:f:d:m:l:k:p:b:e:s:c:huv --shell sh -- "${@}")"
166 ARGUMENTS="$(getopt --longoptions ${LONG_OPTIONS} --name="${PROGRAM}" --options a:d:m:k:b:s:c:huv --shell sh -- "${@}")"
165167
166168 if [ "${?}" != "0" ]
167169 then
479481 ;;
480482
481483 -k|--linux-flavours)
482 LB_LINUX_FLAVOURS="${2}"
484 LB_LINUX_FLAVOURS_WITH_ARCH="${2}"
483485 shift 2
484486 ;;
485487
10211023 # live-build options
10221024
10231025 # \$_BREAKPOINTS: enable breakpoints
1026 # If set here, overrides the command line option
10241027 # (Default: ${_BREAKPOINTS})
10251028 #_BREAKPOINTS="${_BREAKPOINTS}"
10261029
10271030 # \$_DEBUG: enable debug
1031 # If set here, overrides the command line option
10281032 # (Default: ${_DEBUG})
10291033 #_DEBUG="${_DEBUG}"
10301034
10311035 # \$_COLOR: enable color
1036 # If set here, overrides the command line option
10321037 # (Default: ${_COLOR})
10331038 #_COLOR="${_COLOR}"
10341039
10351040 # \$_FORCE: enable force
1041 # If set here, overrides the command line option
10361042 # (Default: ${_FORCE})
10371043 #_FORCE="${_FORCE}"
10381044
10391045 # \$_QUIET: enable quiet
1046 # If set here, overrides the command line option
10401047 # (Default: ${_QUIET})
1041 _QUIET="${_QUIET}"
1048 #_QUIET="${_QUIET}"
10421049
10431050 # \$_VERBOSE: enable verbose
1051 # If set here, overrides the command line option
10441052 # (Default: ${_VERBOSE})
10451053 #_VERBOSE="${_VERBOSE}"
10461054
11741182 LB_KEYRING_PACKAGES="${LB_KEYRING_PACKAGES}"
11751183
11761184 # \$LB_LINUX_FLAVOURS: set kernel flavour to use
1185 # This is kept for backwards compatibility
11771186 # (Default: autodetected)
1178 LB_LINUX_FLAVOURS="${LB_LINUX_FLAVOURS}"
1187 if [ -n "${LB_LINUX_FLAVOURS}" ]
1188 then
1189 LB_LINUX_FLAVOURS_WITH_ARCH="${LB_LINUX_FLAVOURS}"
1190 fi
1191
1192 # \$LB_LINUX_FLAVOURS_WITH_ARCH: set kernel flavour to use (with arch)
1193 # (Default: autodetected)
1194 LB_LINUX_FLAVOURS_WITH_ARCH="${LB_LINUX_FLAVOURS_WITH_ARCH}"
11791195
11801196 # \$LB_LINUX_PACKAGES: set kernel packages to use
11811197 # (Default: autodetected)
309309 then
310310 # Downloading additional packages
311311 mkdir -p chroot/binary.deb/archives/partial
312
313 mv chroot/var/lib/dpkg/status chroot/var/lib/dpkg/status.tmp
314 touch chroot/var/lib/dpkg/status
315312
316313 case "${LB_ARCHITECTURES}" in
317314 amd64)
400397 fi
401398
402399 # Set apt command prefix
403 _LB_APT_COMMAND="apt-get ${APT_OPTIONS} -o Dir::Cache=/binary.deb -o APT::Install-Recommends=false --download-only"
400 _LB_APT_COMMAND="apt-get ${APT_OPTIONS} -o Dir::Cache=/binary.deb -o Dir::State::status=/dev/null -o APT::Install-Recommends=false --download-only"
404401
405402 if [ "${LB_DEBIAN_INSTALLER}" = "live" ]
406403 then
416413
417414 # Drop the packages already installed that d-i doesn't explicitely need
418415 _REMAINING_PACKAGES="$(echo ${DI_FIRMWARE_PACKAGES} ${DI_REQ_PACKAGES} | sed -e 's# #|#g')"
419 _REMAINING_PACKAGES="$(sed -n -e 's|Package: ||p' chroot/var/lib/dpkg/status.tmp | grep -E -v "^(${_REMAINING_PACKAGES})\$")"
416 _REMAINING_PACKAGES="$(Chroot_package_list chroot | grep -E -v "^(${_REMAINING_PACKAGES})\$")"
420417
421418 for _PACKAGE in ${_REMAINING_PACKAGES}
422419 do
426423 # Download .debs of the required packages
427424 Chroot chroot ${_LB_APT_COMMAND} install ${DI_PACKAGES} ${DI_FIRMWARE_PACKAGES}
428425 fi
429
430 # Revert dpkg status file
431 mv chroot/var/lib/dpkg/status.tmp chroot/var/lib/dpkg/status
432426
433427 mv chroot/binary.deb ./
434428
519513 fi
520514
521515 # Udeb handling
522 mkdir binary.udeb
516 mkdir -p binary.udeb/pool-udeb/main
523517 cd binary.udeb
524518
525519 # Downloading udeb indices
575569 do
576570 if [ -e "${FILE}" ]
577571 then
578 Install_file "${FILE}" "pool"
572 Install_file "${FILE}" "pool-udeb"
579573
580574 # Prefer local udebs over downloaded udebs
581575 rm -f "$(basename ${FILE} | awk -F_ '{ print $1 }')"_*.udeb
589583 do
590584 if [ -e "${FILE}" ]
591585 then
592 Install_file "${FILE}" "pool"
586 Install_file "${FILE}" "pool-udeb"
593587
594588 # Prefer local udebs over downloaded udebs
595589 rm -f "$(basename ${FILE} | awk -F_ '{ print $1 }')"_*.udeb
634628 do
635629 if [ -f "$(basename ${UDEB})" ]
636630 then
637 mkdir -p $(dirname ${UDEB})
638 mv "$(basename ${UDEB})" "$(dirname ${UDEB})"
631 Install_file "$(basename ${UDEB})" "pool-udeb"
632 rm "$(basename ${UDEB})"
639633 fi
640634 done
641635
644638 cd "${OLDPWD}"
645639
646640 mv binary.udeb chroot/root
647 echo "cd /root/binary.udeb && apt-ftparchive packages pool/main > dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/main/debian-installer/binary-${LB_ARCHITECTURES}/Packages" > chroot/binary.sh
641 echo "cd /root/binary.udeb && apt-ftparchive packages pool-udeb/main > dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/main/debian-installer/binary-${LB_ARCHITECTURES}/Packages" > chroot/binary.sh
648642 Chroot chroot "sh binary.sh"
649643 rm -f chroot/binary.sh
650644 mv chroot/root/binary.udeb ./
+0
-1
share/bootloaders/extlinux/ldlinux.c32 less more
0 /usr/lib/syslinux/modules/bios/ldlinux.c32
+0
-1
share/bootloaders/syslinux/ldlinux.c32 less more
0 /usr/lib/syslinux/modules/bios/ldlinux.c32