Commit Graph

770 Commits

Author SHA1 Message Date
Daniel Baumann 42fb1e1976 Dropping chroot_live-packages by moving logic outside of live-build into the config directory. 2013-11-05 11:16:39 +01:00
Daniel Baumann 3e0c126e2a Creating all includes directories in config. 2013-11-04 19:48:25 +01:00
Daniel Baumann 4fa62f53fa Adding bootstrap-includes. 2013-11-04 18:59:23 +01:00
Daniel Baumann 8e0188c72c Adding sources-includes. 2013-11-04 18:46:56 +01:00
Daniel Baumann 1e04939721 Rewriting binary_includes in python. 2013-11-04 18:33:48 +01:00
Daniel Baumann fee4e8b349 Rewriting chroot_includes in python. 2013-11-04 17:51:36 +01:00
Daniel Baumann 9e3863aa8f Switching to later submodule naming scheme for python stubs. 2013-11-04 17:10:22 +01:00
Daniel Baumann 5603355e1d Handling bootstrap cache inside the bootstrap stubs itself. 2013-11-04 14:02:40 +01:00
Daniel Baumann 83dacd9b39 Stuffing bootstrapping of archive-keys for derivatives into lb_config, it's not a runtime thing and its logic should not be embedded in live-build but the config directory. 2013-11-04 13:34:43 +01:00
Daniel Baumann 35919637af Moving testroot into lb wrapper itself. 2013-11-04 13:00:12 +01:00
Daniel Baumann 52122b2845 Moving python stubs to their own subdirectory within the source tree. 2013-11-04 07:06:08 +01:00
Daniel Baumann db331a3c5a Rewriting source_hooks in python. 2013-11-04 06:43:40 +01:00
Daniel Baumann 90fd3636a4 Rewriting binary_hooks in python. 2013-11-04 06:37:31 +01:00
Daniel Baumann 1bcc449483 Automatically symlink hooks upon creation of the configuration tree. 2013-11-03 21:18:10 +01:00
Daniel Baumann cec85c5598 Rewriting chroot_hooks in python. 2013-11-03 20:51:15 +01:00
Daniel Baumann f03f05097e Also processing config/hooks/*.hook in bootstrap_hooks, if any. 2013-11-03 20:51:12 +01:00
Daniel Baumann 258f506b96 Rewriting bootstrap_hooks in python. 2013-11-03 19:24:04 +01:00
Daniel Baumann d83a3d3c30 Updating rsvg calls in binary_syslinux for newer versions of librsvg2-bin, thanks to Roberto Carlos Morano <rcmorano@emergya.com> (Closes: #728030). 2013-10-28 08:31:02 +01:00
Daniel Baumann 006e38d955 Weakening mode on pts for compliance with eglibc 2.18 within containers during build. 2013-10-23 21:01:22 +02:00
Daniel Baumann 955175ac4b Dropping incomplete and not really supported exposed root mode.
This might come back in future if there's demand for it
and the base is sufficiently cleaned up first.
2013-10-23 10:47:48 +02:00
Daniel Baumann c7462c4043 Depending on python3, thanks to Richard Nelson <unixabg@gmail.com> (Closes: #726806) 2013-10-21 19:05:29 +02:00
Daniel Baumann 3afd2fb9cb Adding note about outdated/unsupported versions in general develop-ment-version warning message. 2013-10-17 16:58:20 +02:00
Daniel Baumann 49b6f1efb2 Updating descriptions in python stubs. 2013-10-17 14:59:08 +02:00
Daniel Baumann 75df65480f Sorting todo items in python stubs. 2013-10-17 14:55:11 +02:00
Daniel Baumann 4afbc74f34 Calling parted with optimal aligning. 2013-10-17 12:27:42 +02:00
Daniel Baumann 28dba93085 Harmonize comments in python stubs. 2013-10-17 11:24:27 +02:00
Daniel Baumann d18a85705a Using 4 instead of 4.0 for unreleased 4.x versions as version number in python stubs. 2013-10-17 11:10:32 +02:00
Daniel Baumann ac880ca145 Making warning about alpha version of live-build in lb_config conditional on the internal version. 2013-10-17 09:38:54 +02:00
Daniel Baumann cfdd08c6e1 Moving /selinux to /sys/fs/selinux to accomodate newer selinux in debian. 2013-10-16 20:40:27 +02:00
Daniel Baumann 93c041ec4a Depending on python only for the time being, rather than python3.3. 2013-10-15 12:29:07 +02:00
Daniel Baumann b32d972a42 Adding bootstrap hooks. 2013-10-15 12:24:48 +02:00
Daniel Baumann 4c2f7491dc Updating to python 3.3 (Closes: #723702). 2013-09-19 09:09:16 +02:00
Daniel Baumann aa7939e085 Removing unused description variable in syslinux configs. 2013-09-18 11:43:49 +02:00
Jan Blunck ddb8ad5dae Selectively remove chroot-only APT configuration and preferences instead of wiping everything. 2013-09-18 10:48:21 +02:00
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