Commit Graph

738 Commits

Author SHA1 Message Date
Daniel Baumann 4a41852f82 Updating bootstrap for Python stubs. 2013-05-06 14:50:07 +02:00
Daniel Baumann c229d39dc8 Replacing bootstrap_cdebootstrap with Python stub. 2013-05-06 14:50:07 +02:00
Daniel Baumann a06eea85ad Replacing bootstrap_debootstrap with Python stub. 2013-05-06 14:50:07 +02:00
Michael Stummvoll 428da01aea Using LB_HDD_SIZE to determine the size of the image.
If LB_HDD_SIZE is "auto" the size will be determined automatically as before
else it will be the given size in MB.

Also setting the default for this to "auto"
2013-05-06 14:50:07 +02:00
Daniel Baumann ff8e4ef6aa Unifying append options in binary_syslinux when processing configuration files. 2013-05-06 14:50:07 +02:00
Daniel Baumann 86e15f61c0 Stripping out comments in package lists. 2013-05-06 14:50:07 +02:00
Daniel Baumann 7406724344 Aborting early in chroot_package-lists if no package list is found. 2013-05-06 14:50:07 +02:00
Daniel Baumann d0bb1a3ade Cleaning up installer file locations for progress-linux. 2013-05-06 14:50:07 +02:00
Daniel Baumann f1410a0945 Replacing strings in all syslinux config files, not just certain hardcoded ones. 2013-05-06 14:50:07 +02:00
Daniel Baumann a00211e9c6 Removing dedicated emdebian mode, this can entirely be handled with different defaults. 2013-05-06 14:50:07 +02:00
Daniel Baumann 60739bfbd8 Renaming config/control to config/image. 2013-05-06 14:50:07 +02:00
Daniel Baumann 68700f466c Dropping dedicated updates (formerly volatile) mirror handling, not needed anymore. 2013-05-06 14:50:07 +02:00
Daniel Baumann dd15ade8bb Dropping dedicated backports mirror handling, not needed anymore with the move of backports.d.o into ftp.d.o. 2013-05-06 14:50:07 +02:00
Daniel Baumann 17d85e1452 Using ntfs-3g to mount ntfs partitions. 2013-05-06 14:50:07 +02:00
Daniel Baumann 2c54c44610 Adding generic live-build handle in chroot_dpkg for other live packages to act upon. 2013-05-06 14:50:07 +02:00
Daniel Baumann 5a00aa4482 Using dpkg-divert for other diversions too to handle upgrades of the diverted stuff during build. 2013-05-06 14:50:07 +02:00
Daniel Baumann 20f042f923 Using dpkg-divert in chroot_upstart script to handle upgrades of upstart during the build (Closes: #702537). 2013-05-06 14:50:07 +02:00
Daniel Baumann c287072126 Debranding package for derivatives. 2013-05-06 14:50:07 +02:00
Daniel Baumann 1083985682 Correcting typo directory when dereferencing syslinux symlinks when building chrooted, thanks to Luigi Capriotti <l.capriotti@xbmc.org>. 2013-05-06 14:50:07 +02:00
Daniel Baumann 59ce459f40 Removing all references to my old email address. 2013-05-06 14:50:06 +02:00
Raphaël Hertzog 20855871d2 Fixing win32-loader.ini by including the GTK related entries.
The check protecting their addition was wrong. Also fix the actual keys
with the correct architecture instead of hardcoding i386.
2013-05-06 14:50:06 +02:00
Daniel Baumann c1a7b496bf Correcting spelling typos, thanks to Adam D. Barratt <adam@adam-barratt.org.uk>. 2013-05-06 14:50:06 +02:00
Daniel Baumann d4f8b95cdf Adding source_hooks for hooks on source images like already supported on binary images. 2013-05-06 14:50:06 +02:00
Daniel Baumann 20d3ef51ba Making some more debian source-selections conditional on certain image options. 2013-05-06 14:50:06 +02:00
Daniel Baumann 48939b9ac9 Harmonize handling of pre-existing gnupg dotfiles in chroot when handling fake signing keys for local repository. 2013-05-06 14:50:06 +02:00
Daniel Baumann 11b07e9a41 Making messages about reading system conffiles in lb config more accurate. 2013-05-06 14:50:06 +02:00
Daniel Baumann 7f972f31ce Also showing distribution in lb config initial messages. 2013-05-06 14:50:06 +02:00
Daniel Baumann cca7563257 Removing non-existent --apt-indices none references. 2013-05-06 14:50:06 +02:00
Daniel Baumann dbfe7b10d7 Removing incomplete support for fakeroot. 2013-05-06 14:50:06 +02:00
Daniel Baumann 04cec317cc Removing incomplete support for root-command. 2013-05-06 14:50:06 +02:00
Daniel Baumann 3f3d05b2e6 Updating d-i suite symlink for wheezy release. 2013-05-06 14:50:05 +02:00
Daniel Baumann 137c224579 Dropping powerpc bootloader support (yaboot), there is nobody actively maintaining this in live-build. 2013-05-06 14:50:05 +02:00
Daniel Baumann 3e23aaacde Dropping sparc bootloader support (silo), there is nobody actively maintaining this in live-build. 2013-05-06 14:50:05 +02:00
Daniel Baumann 6f39d25611 Allowing to use parted its automatic offset handling at the beginning of a disk, rather than to harcode it to first block (Closes: #647607). 2013-05-06 14:50:05 +02:00
Daniel Baumann 85e9887e0b Converting splash.svg not just splash.svg.in files as syslinux bootsplashes. 2013-05-06 14:50:05 +02:00
Daniel Baumann 7595fb6f61 Correctly remove binary contents and packages file in clean script. 2013-05-06 14:50:05 +02:00
Daniel Baumann 516cf8299f Dropping theme package support, themes are either in the config tree or the embedded one from live-build is used. 2013-05-06 14:50:05 +02:00
Daniel Baumann 0290d0be6b Updating binary_debian-installer for newer append replacement variables used in syslinux configs. 2013-05-06 14:50:05 +02:00
Daniel Baumann 2fb4009a8c Updating syslinux configurations and handling for syslinux 5. 2013-05-06 14:50:05 +02:00
Daniel Baumann d06b25079f Adding bootrap_archive-keys to establish secure trust-chain on top of debian-keyring for derivatives. 2013-05-06 14:50:05 +02:00
Daniel Baumann d4186c841d Correcting install path in loadlins install.bat for the gtk d-i flavour. 2013-05-06 14:50:05 +02:00
Daniel Baumann 4d95bc6e79 Escaping quotes to workaround a false-positive of checkbashisms in binary_debian-installer. 2013-05-06 14:50:05 +02:00
Daniel Baumann dc11169a06 Avoiding to unconditionally adding whitespace seperator to config/control for existing configs. 2013-05-06 14:50:04 +02:00
Daniel Baumann 09e65e406b Applying slightly modified patch from Raphaël Hertzog <hertzog@debian.org> to fix automatic firmware inclusion when using debian-installer with live-installer and having firmware packages installed in the live system already. 2013-05-06 14:50:04 +02:00
Daniel Baumann df797b7cda Making xorriso option handling a bit more readable. 2013-05-06 14:50:04 +02:00
Daniel Baumann 07ffebc750 Correcting apt-key cleanup of local dummy signing keys when using local packages, thanks to jhcha54008 <jhcha54008@free.fr>. 2013-05-06 14:50:04 +02:00
Daniel Baumann 6d3b6b7b9b Updating samhain workaround in chroot_dpkg to work if live-build is being used with sudo or fakeroot (Closes: #698423). 2013-05-06 14:50:04 +02:00
Daniel Baumann 63a747b0c2 Cleaning up binary_loadlin. 2013-05-06 14:50:04 +02:00
Daniel Baumann 46dc41a701 Using cat instead of echo to workaround incompatible and conflicting uses in escaping of \t in dash and bash, and less importantly to workaround a false-positive in checkbashisms. 2013-05-06 14:50:04 +02:00
Daniel Baumann 36efad274a Dropping pre-wheezy handling for win32-loader files. 2013-05-06 14:50:04 +02:00
Daniel Baumann 7908cea0c3 Adding support for sha512 checksums. 2013-05-06 14:50:04 +02:00
Daniel Baumann fc9df81463 Removing all checksum files in lb clean. 2013-05-06 14:50:04 +02:00
Daniel Baumann 2731b83bae Correcting legacy filename for checksum files. 2013-05-06 14:50:04 +02:00
Daniel Baumann d4f5dd6df9 Updating win32-loader.ini for wheezy. 2013-05-06 14:50:04 +02:00
Daniel Baumann eaa015ed35 Only including gtk d-i in win32-loader config if available on the target image. 2013-05-06 14:50:04 +02:00
Daniel Baumann 1402ce72a9 Creating install.bat for loadlin. 2013-05-06 14:50:04 +02:00
Daniel Baumann d878fa2947 Dropping stable and unstable dist symlinks for d-i in dists for wheezy. 2013-05-06 14:50:04 +02:00
Daniel Baumann e3289119c2 Creating autorun.inf in binary_win32-loader. 2013-05-06 14:50:04 +02:00
Daniel Baumann 565b1ea291 Also ignoring legacy checksum filenames when creating checksum files. 2013-05-06 14:50:04 +02:00
Daniel Baumann 449a338ffa Correcting spelling typo in help text within the binary checksums file. 2013-05-06 14:50:04 +02:00
Daniel Baumann de261256c5 Defaulting to obsolete filenames for checksums on debian, as debians cdrom-check in d-i only supports legacy filenames (Closes: #697082). 2013-05-06 14:50:04 +02:00
Daniel Baumann 07fb58ba52 Don't fail when adding symlinks for firmware in binary/firmware for debian-installer and the symlink already exists (Closes: #696688). 2013-05-06 14:50:03 +02:00
Daniel Baumann 62d94a4454 Updating year in all copyright notices. 2013-05-06 14:50:03 +02:00
Daniel Baumann eba66925cc Using .cfg suffix for consistency with debian-installer on preseed files in config/preseed. 2013-05-06 14:50:03 +02:00
Daniel Baumann e08aa46019 Correcting glitch with plain chroot filesystems in binary_chroot. 2013-05-06 14:50:03 +02:00
Daniel Baumann d49278344e Removing redundant check for linux-images in binary_linux-image. 2013-05-06 14:50:03 +02:00
Daniel Baumann bcea0380c4 Splitting off chroot firmware handling into an own script. 2013-05-06 14:50:03 +02:00
Daniel Baumann 09eed369eb Simplifying exit check in chroot_linux-image. 2013-05-06 14:50:03 +02:00
Daniel Baumann d32d432678 Omitting memtest in binary if chroot filesystem is set to none. 2013-05-06 14:50:03 +02:00
Daniel Baumann a6938bb129 Omitting binary manifest creation when chroot filesystem is set to none. 2013-05-06 14:50:03 +02:00
Daniel Baumann f2f2d1bccb Removing pre-wheezy grub package from binary_debian-installer. 2013-05-06 14:50:03 +02:00
Daniel Baumann 2d487b5519 Only writing out Parent-Archive-Areas field into configuration when building a derivative. 2013-05-06 14:50:03 +02:00
Daniel Baumann 5123ca4547 Moving off binary image parent archive areas into new config tree format. 2013-05-06 14:50:03 +02:00
Daniel Baumann 4c7518fd76 Moving off binary image archive areas into new config tree format. 2013-05-06 14:50:03 +02:00
Daniel Baumann bcde017854 Including architecture in binary output filenames. 2013-05-06 14:50:03 +02:00
Ben Armstrong 2a666ed5d8 Improving warning wording to reflect unfinished state of code better. 2013-05-06 14:50:03 +02:00
Daniel Baumann ef1ab80c70 Using image name from configuration to name source output files. 2013-05-06 14:50:03 +02:00
Daniel Baumann 36d36414d8 Adding explicit warning for people that do not understand what stable is. 2013-05-06 14:50:03 +02:00
Daniel Baumann 2a9486d108 Using image name from configuration to name binary output files. 2013-05-06 14:50:03 +02:00
Daniel Baumann 8c0760a13a Separate between configured values and runtime values in new configuration handling. 2013-05-06 14:50:03 +02:00
Daniel Baumann 6499442212 Moving off binary image architecture into new config tree format. 2013-05-06 14:50:03 +02:00
Daniel Baumann f5acab633c Moving off binary image type into new config tree format. 2013-05-06 14:50:03 +02:00
Daniel Baumann c73a5a0ee0 Moving configuration version off as the first option into new config tree format. 2013-05-06 14:50:03 +02:00
Daniel Baumann 5e07604353 Removing kubuntu mode, it's not different anymore to standard ubuntu mode. 2013-05-06 14:50:02 +02:00
Daniel Baumann fae7a1ce27 Moving removal of backup and temporary files to their own hook script. 2013-05-06 14:50:02 +02:00
Daniel Baumann c02300e297 Removing loop-aes-utils related hack for squeeze. 2013-05-06 14:50:02 +02:00
Daniel Baumann cf1de1682b Moving kexec-tools default preseeding into its own hook script. 2013-05-06 14:50:02 +02:00
Daniel Baumann b1b7e909c7 Removing old code in chroot_hacks for tasks which are not used anymore. 2013-05-06 14:50:02 +02:00
Daniel Baumann 0d7322500b Switching from genisoimage to xorriso. 2013-05-06 14:50:02 +02:00
Daniel Baumann bd22f9c864 Updating removal of adjtime in a split out hook for wheezy. 2013-05-06 14:50:02 +02:00
Daniel Baumann e2e5636744 Avoid re-populating an already populated configuration tree when using lb config --config. 2013-05-06 14:50:02 +02:00
Daniel Baumann 5beadcd563 Adding support for live-images configs and arbitrary configuration directories in lb_config --config option. 2013-05-06 14:50:02 +02:00
Daniel Baumann 8bd5d71a3f Skipping creation of soon to be replaced config/templates directory. 2013-05-06 14:50:02 +02:00
Daniel Baumann a3d6006215 Removing local/bin by default in lb_clean too. 2013-05-06 14:50:02 +02:00
Daniel Baumann 82a5279e14 Dropping ubuntu guards on firmware selection code, we're not enabling firmware inclusion in ubuntu mode anyway.
Also, we're not keeping this as ubuntu should just update their archive
structure for content files to match debian. Not worth keeping temporary
extra turns just for ubuntu.
2013-05-06 14:50:01 +02:00
Daniel Baumann a70409e1f2 Adding support for local apt conf.d snippets in archive definitions (Closes: #685791). 2013-05-06 14:50:01 +02:00
Daniel Baumann bc985a6a32 Harmonizing apt configuration handling in chroot_archives. 2013-05-06 14:50:01 +02:00
Daniel Baumann 7400939e84 Adding dropped empty-line separator in binary_debian-installer. 2013-05-06 14:50:01 +02:00
Daniel Baumann edeb1f7656 Updating powerpc kernel list on ubuntu. 2013-05-06 14:50:01 +02:00
Daniel Baumann d1047e809a Adding debian version 4.0~a1-1. 2013-05-06 14:48:46 +02:00
Daniel Baumann 4240da2b8c Skipping loadlin inclusion on netboot images. 2013-04-30 09:44:40 +02:00
Daniel Baumann da914efba4 Updating derivatives archive-key signature validiation to look by default at both debian and debian-maintainers keyrings. 2013-04-11 19:28:46 +02:00
Daniel Baumann 4b92e02754 Stripping out comments in package lists. 2013-04-09 05:54:39 +02:00
Daniel Baumann c4c9c02d9b Cleaning up installer file locations for progress-linux. 2013-04-09 05:54:30 +02:00
Daniel Baumann 1a4fdf132d Adding generic live-build handle in chroot_dpkg for other live packages to act upon. 2013-04-09 05:54:23 +02:00
Daniel Baumann 6106e81b85 Using dpkg-divert for other diversions too to handle upgrades of the diverted stuff during build. 2013-04-09 05:54:22 +02:00
Daniel Baumann 34dd4a6c70 Using dpkg-divert in chroot_upstart script to handle upgrades of upstart during the build (Closes: #702537). 2013-04-09 05:54:08 +02:00
Daniel Baumann da153c6526 Correcting typo directory when dereferencing syslinux symlinks when building chrooted, thanks to Luigi Capriotti <l.capriotti@xbmc.org>. 2013-04-09 05:52:09 +02:00
Raphaël Hertzog 13bfa69cbf Fixing win32-loader.ini by including the GTK related entries.
The check protecting their addition was wrong. Also fix the actual keys
with the correct architecture instead of hardcoding i386.
2013-04-09 05:52:09 +02:00
Daniel Baumann c366502ec1 Correcting spelling typos, thanks to Adam D. Barratt <adam@adam-barratt.org.uk>. 2013-04-09 05:52:09 +02:00
Daniel Baumann 0e5cfdb747 Adding source_hooks for hooks on source images like already supported on binary images. 2013-04-09 05:52:08 +02:00
Daniel Baumann a40fc3b92a Making some more debian source-selections conditional on certain image options. 2013-04-09 05:40:16 +02:00
Daniel Baumann 4259fcac5d Harmonize handling of pre-existing gnupg dotfiles in chroot when handling fake signing keys for local repository. 2013-04-09 05:40:16 +02:00
Daniel Baumann dd6f9b7cfa Making messages about reading system conffiles in lb config more accurate. 2013-04-09 05:40:15 +02:00
Daniel Baumann 1c3bfa405c Also showing distribution in lb config initial messages. 2013-04-09 05:40:15 +02:00
Daniel Baumann ab3d2eae25 Removing non-existent --apt-indices none references. 2013-04-09 05:40:12 +02:00
Daniel Baumann f180ad0747 Updating d-i suite symlink for wheezy release. 2013-04-09 05:22:44 +02:00
Daniel Baumann 09067bbbf8 Allowing to use parted its automatic offset handling at the beginning of a disk, rather than to harcode it to first block (Closes: #647607). 2013-04-09 05:22:12 +02:00
Daniel Baumann f4c54334a4 Converting splash.svg not just splash.svg.in files as syslinux bootsplashes. 2013-02-09 00:04:20 +01:00
Daniel Baumann 1f673d6f6b Correctly remove binary contents and packages file in clean script. 2013-02-08 23:13:24 +01:00
Daniel Baumann 36e9376517 Dropping theme package support, themes are either in the config tree or the embedded one from live-build is used. 2013-02-08 23:11:15 +01:00
Daniel Baumann cfb9b190e1 Updating binary_debian-installer for newer append replacement variables used in syslinux configs. 2013-02-08 22:46:48 +01:00
Daniel Baumann bc08ea0115 Updating syslinux configurations and handling for syslinux 5. 2013-02-08 21:40:28 +01:00
Daniel Baumann 628c93f923 Adding bootrap_archive-keys to establish secure trust-chain on top of debian-keyring for derivatives. 2013-02-08 21:40:27 +01:00
Daniel Baumann 4df36c9407 Correcting install path in loadlins install.bat for the gtk d-i flavour. 2013-01-24 00:26:29 +01:00
Daniel Baumann 84af3683bd Escaping quotes to workaround a false-positive of checkbashisms in binary_debian-installer. 2013-01-24 00:08:07 +01:00
Daniel Baumann cca9934da6 Applying slightly modified patch from Raphaël Hertzog <hertzog@debian.org> to fix automatic firmware inclusion when using debian-installer with live-installer and having firmware packages installed in the live system already. 2013-01-20 08:55:05 +01:00
Daniel Baumann 715adcfc8e Falling back to use genisoimage when building squeeze iso-hybrid images. 2013-01-19 18:04:52 +01:00
Daniel Baumann 9ec95b51a7 Correcting apt-key cleanup of local dummy signing keys when using local packages, thanks to jhcha54008 <jhcha54008@free.fr>. 2013-01-19 12:50:03 +01:00
Daniel Baumann 357c2e0399 Updating samhain workaround in chroot_dpkg to work if live-build is being used with sudo or fakeroot (Closes: #698423). 2013-01-19 12:46:40 +01:00
Daniel Baumann 7f0662cd50 Cleaning up binary_loadlin. 2013-01-06 23:30:49 +01:00
Daniel Baumann 8607b231d6 Using cat instead of echo to workaround incompatible and conflicting uses in escaping of \t in dash and bash, and less importantly to workaround a false-positive in checkbashisms. 2013-01-04 19:13:23 +01:00
Daniel Baumann 8d31e413f8 Dropping pre-squeeze handling for win32-loader files. 2013-01-02 11:42:18 +01:00
Daniel Baumann 369a600509 Adding support for sha512 checksums. 2013-01-02 11:27:05 +01:00
Daniel Baumann bffc19e3a2 Removing all checksum files in lb clean. 2013-01-02 11:25:48 +01:00
Daniel Baumann 33eb0dfd91 Correcting legacy filename for checksum files. 2013-01-02 11:23:08 +01:00
Daniel Baumann 71cb88de17 Updating win32-loader.ini for wheezy. 2013-01-02 11:19:50 +01:00
Daniel Baumann 6eb4e2236a Only including gtk d-i in win32-loader config if available on the target image. 2013-01-02 11:19:20 +01:00
Daniel Baumann fd5c4609e9 Creating install.bat for loadlin. 2013-01-02 11:09:11 +01:00
Daniel Baumann d2940edc0f Dropping stable and unstable dist symlinks for d-i in dists for wheezy. 2013-01-02 11:05:17 +01:00
Daniel Baumann e8fd91ee05 Creating autorun.inf in binary_win32-loader. 2013-01-02 11:00:05 +01:00
Daniel Baumann e724421fee Also ignoring legacy checksum filenames when creating checksum files. 2013-01-02 10:51:01 +01:00
Daniel Baumann a6b1521567 Correcting spelling typo in help text within the binary checksums file. 2013-01-02 10:51:01 +01:00
Daniel Baumann a39bfcb512 Defaulting to obsolete filenames for checksums on debian, as debians cdrom-check in d-i only supports legacy filenames (Closes: #697082). 2013-01-02 10:38:53 +01:00
Daniel Baumann 7f50113e74 Don't fail when adding symlinks for firmware in binary/firmware for debian-installer and the symlink already exists (Closes: #696688). 2013-01-02 10:22:20 +01:00
Daniel Baumann a203b86fdd Updating year in all copyright notices. 2013-01-01 00:13:01 +01:00
Daniel Baumann e366eae5c3 Using .cfg suffix for consistency with debian-installer on preseed files in config/preseed. 2012-12-31 10:18:45 +01:00
Daniel Baumann 52262ab8f9 Correcting glitch with plain chroot filesystems in binary_chroot. 2012-12-30 14:19:02 +01:00
Daniel Baumann 27f9ebb269 Removing redundant check for linux-images in binary_linux-image. 2012-12-30 13:14:36 +01:00
Daniel Baumann bd0ccc992b Omitting memtest in binary if chroot filesystem is set to none. 2012-12-30 12:58:31 +01:00