Commit Graph

726 Commits

Author SHA1 Message Date
Jan Blunck 4d9c77d20e Remove chroot-only configured apt sources in chroot_archives remove.
If an archive is configured with *.chroot extension remove it when
deconfiguring chroot/etc/apt/sources.list.d directory.
2013-09-18 10:36:31 +02:00
Daniel Baumann 1cdc2fc5b4 Making workaround for apt-get source actually working in backports-included-but-not-enabled scenarios. 2013-09-18 09:49:03 +02:00
Daniel Baumann 5ecae6eb90 Updating hardcoded defaults for syslinux splash descriptions for progress-linux. 2013-09-06 17:18:48 +02:00
Raphaël Hertzog 2d12d83527 Ensure xfsprogs and jfsutils are available in the ISO when d-i is used.
Otherwise users opting for XFS and JFS filesystems and installing without
network won't have them and the (first) boot can be interrupted due to
this.

Sponsored-by: Offensive Security
2013-08-26 19:02:20 +02:00
Daniel Baumann 1577d46064 Updating syslinux flavour detection for progress-linux. 2013-08-19 17:52:05 +02:00
Daniel Baumann 0dc87d1170 Updating binary repository prefix for progress-linux. 2013-08-19 08:57:25 +02:00
Daniel Baumann a12212ee53 Correcting wrong installer directory moving check in progress-linux mode. 2013-08-07 20:06:47 +02:00
Daniel Baumann d75e7b75c0 Renaming some leftover pieces from binary_debian-installer to installer_debian-installer. 2013-08-07 18:14:23 +02:00
Daniel Baumann d758af1392 Removing obsolete starting of binary_debian-installer in binary. 2013-08-07 18:14:23 +02:00
Daniel Baumann afd1060395 Correcting wrong defaults setting for parent distribution in config/build. 2013-08-07 17:50:20 +02:00
Daniel Baumann 0c10bd5318 Calling bootstrap_archives with correct pass argument. 2013-08-07 16:50:47 +02:00
Daniel Baumann e94e9699b6 Stripping backports from sources.list temporarily when obtaining sources to workaround apts disregard of pinning for the cases where backports are included but not enabled. 2013-08-07 12:25:43 +02:00
Daniel Baumann af16834f28 Updating linux-image package names for 3.0 in installer_debian-installer. 2013-07-30 18:13:57 +02:00
Daniel Baumann 383d4d26b7 Expanding all variables in all syslinux configuration files, rathern than on some selected ones only. 2013-07-12 16:34:46 +02:00
Daniel Baumann 18e0a2f325 Debranding live sources. 2013-07-01 16:50:08 +02:00
Daniel Baumann b77349b8ce Moving caching out of bootstrap_{c,}debootstrap to own helper for future unification with chroot caches helper. 2013-07-01 16:27:12 +02:00
Daniel Baumann eab1da72ed Handling dist-upgrade right after bootstrap with copy of chroot_archives as bootstrap_archives in preparation for a future multi-archive bootstrap.
It is important for derivatives that the bootstrap cache is setup completely,
it is re-used in several places and thus cannot consist of the parent
distribution only.

Until there's a supportable way to bootstrap from multiple archives at the same time
(and multistrap doesn't work for that as discussed in the past), we're going to run
a lot of duplicated code here to massage the apt sources for the time being.
2013-07-01 16:24:32 +02:00
Daniel Baumann 4e9c7ee662 Removing some leftovers in chroot_archives from --archives removal. 2013-07-01 16:08:33 +02:00
Daniel Baumann 613f8cfd6d Dropping global archive definitions shipped in /usr/share/live/build/archives (same as with packagelists, hidden archive 'magic' is gone now in favour of explicit config tree configuration). 2013-06-25 09:12:03 +02:00
Daniel Baumann 57d26a0758 Using includes.installer instead of includes.debian-installer. 2013-06-24 14:27:48 +02:00
Daniel Baumann ec01ef8e68 Adding note about live-build version in build to get the lb version into build logs. 2013-06-24 14:02:30 +02:00
Daniel Baumann 966afa2d64 Splitting out preseed handling from main installer script. 2013-06-20 11:24:12 +02:00
Daniel Baumann 001612cdc7 Breaking out installer integration into an own stage. 2013-06-20 10:57:56 +02:00
Daniel Baumann 79af3c1580 Extending wget calls with options variable in bootstrap_archive-keys too (Closes: #712710). 2013-06-19 08:01:03 +02:00
Daniel Baumann bc35323876 Updating versioning scheme references to match new scheme since wheezy. 2013-05-31 13:53:30 +02:00
Daniel Baumann d26dea3710 Sorting imports in python stubs. 2013-05-15 22:49:13 +02:00
Daniel Baumann d61c044ec0 Moving creation of chroot.files manifest in lb chroot after pseudo-filesystems have been unmounted to avoid loops, thanks to Michal Suchanek <hramrach@gmail.com>. 2013-05-15 14:56:17 +02:00
Daniel Baumann 2bad1bd9c8 Sorting kernel versions in reverse order (newest first) in syslinux configurations in consistency with normal bootloader behaviours. 2013-05-13 12:57:35 +02:00
Daniel Baumann ee674162da Adding ls -lR files as .files output. 2013-05-06 14:50:08 +02:00
chals 36a44c849a Changing how syslinux files are copied to make netboot images work properly. 2013-05-06 14:50:08 +02:00
Daniel Baumann 9a15cd0114 Skipping loadlin inclusion on netboot images. 2013-05-06 14:50:08 +02:00
Daniel Baumann 4155fd9641 Updating todo in python stubs. 2013-05-06 14:50:08 +02:00
Daniel Baumann 02ebd3f0c2 Updating derivatives archive-key signature validiation to look by default at both debian and debian-maintainers keyrings. 2013-05-06 14:50:08 +02:00
Daniel Baumann 39ef5a723c Writing errors to stderr in Python stubs. 2013-05-06 14:50:08 +02:00
Daniel Baumann 73c892d114 Switching argument and configuration handling order in Python stubs. 2013-05-06 14:50:08 +02:00
Daniel Baumann 8f293ccd9c Dropping now unused intermediate config/image. 2013-05-06 14:50:07 +02:00
Daniel Baumann 06dac65ee3 Removing bootstrap_cache, not needed anymore. 2013-05-06 14:50:07 +02:00
Daniel Baumann 680109fdad Temporary hack for lb config to produce config/build until stuff is cleaned up properly. 2013-05-06 14:50:07 +02:00
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