Daniel Baumann
1606ed3c5a
Enabling syslinux 6 support for jessie as well.
2014-07-22 20:11:56 +02:00
Daniel Baumann
6cfcbbb576
Updating isohdpfx handling for syslinux 6.
2014-06-30 21:05:57 +02:00
Daniel Baumann
e8cbbb09d3
Enabling syslinux 6 support for sid.
2014-06-13 08:39:22 +02:00
Daniel Baumann
4b815ee833
Also creating source stagefile in source_debian.
2014-05-07 07:59:44 +02:00
Daniel Baumann
6bfcd3689a
Adding wheezy legacy handling for syslinux.
2014-05-07 05:27:23 +02:00
Daniel Baumann
604d5f1416
Only removing stage files in lb clean --stage and keep .build around in order for init to detect initialized config directories properly.
2014-05-07 05:22:30 +02:00
Simon McVittie
5d6574552f
Add support for making ext[234] or btrfs hdd images bootable with extlinux ( Closes : #745816 )
...
extlinux configuration for the bootable image is installed to
/boot/extlinux, matching the extlinux-install script in Debian.
From the configuration point of view it's still called "syslinux",
the same as the rest of the syslinux family (pxelinux, isolinux etc.)
2014-04-27 12:37:37 +02:00
Daniel Baumann
10a6e8e579
Cleaning /etc/hosts as in previous live-build versions ( Closes : #744939 ).
2014-04-27 12:30:02 +02:00
Daniel Baumann
d3a0022d00
Calling init in build as well when automatically populating a new config tree.
2014-04-27 07:18:06 +02:00
Daniel Baumann
b30ee01e8a
Abort early in installer_preseed if d-i is not included on the image ( Closes : #745855 ).
2014-04-26 08:05:32 +02:00
Daniel Baumann
057a9097e5
Updating sha1sum for recompressed initrd images ( Closes : #745205 ).
2014-04-26 08:05:32 +02:00
Daniel Baumann
9db58d9489
Dropping superfluous comment about recompression initrd images in chroot_hacks.
2014-04-26 08:05:32 +02:00
Daniel Baumann
1867dc1e52
Using cp -a on all non-fat filesystems to copy content into the binary image ( Closes : #745824 ).
2014-04-26 08:05:29 +02:00
Daniel Baumann
d86fb1aeb4
Failing in lb config when config wasn't initialized first with lb init ( Closes : #744365 ).
2014-04-25 21:05:37 +02:00
Daniel Baumann
cce1e47ce8
Correcting required installer package determination to avoid extra packages, thanks to Benjamin Moody <benjamin.moody@gmail.com> ( Closes : #739729 ).
2014-04-25 21:00:56 +02:00
Daniel Baumann
7a52186c1b
Only automatically do replacements within syslinux configs when they are not directories (as they can be in the pxelinux.cfg case), thanks to Antony Messerli <amesserl@rackspace.com> ( Closes : #745760 ).
2014-04-25 20:51:14 +02:00
Kiel Christofferson
c9a09a282c
Only call shift if args are not empty.
...
Some shells (like dash) will exit fatally when the shift builtin is called
beyond the last option.
2014-03-02 06:22:19 +01:00
Kiel Christofferson
3c69e6b56c
Auto-detect foreign architectures in packagelist.
...
* Add function to output unique list of foreign architectures from an
expanded package list.
* If foreign architectures are detected, add unique architectures
to dpkg and update apt.
* This requires users to explicitly list at least _one_ package of a
foreign architecture in their package list (e.g. foo:arch) for any other
foreign arch dependencies to be handled appropriately.
2014-03-02 06:22:13 +01:00
Kiel Christofferson
9240aa3d3e
Only grab the latest version of kernel+initrd pair.
2014-02-21 12:56:43 -05:00
Kiel Christofferson
a934c03e06
Use LB_INITRAMFS case instead of assuming "live".
2014-02-21 12:56:43 -05:00
Daniel Baumann
eb336bb782
Updating copyright notices for 2014.
2014-02-08 17:47:24 +01:00
Daniel Baumann
5733ae0fe1
Explicitly building iso images with rock ridge extension.
2013-12-29 12:03:39 +01:00
Daniel Baumann
6ceaaa1e93
Silencing copying of syslinux themes since users get always distracted about syslinux 6 files not being dereferenced (which can be totally ignored if you're using syslinux 4).
2013-11-26 08:03:57 +01:00
Daniel Baumann
aeaaf8709e
Moving live-build development disclaimer message from lb-config to lb-init.
2013-11-06 09:48:30 +01:00
Daniel Baumann
038b1fa8f6
Moving bootstrapping of derivative archive-keys from config to init.
2013-11-06 08:16:31 +01:00
Daniel Baumann
960de852b7
Adding initial stub for lb init.
...
In the past, we had lb config for both creating a configuration directory
and updating settings in there. With the rewrite in Python, we're now
changing this finally to the more sane 'init' (create initial 'sample'
configuration directory tree, taking most arguments that lb config did)
and 'config' which will only be a get/set program to work on top of
an already initialized configuration tree.
2013-11-05 12:20:11 +01:00
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