Commit Graph

1027 Commits

Author SHA1 Message Date
Daniel Baumann ca9cfd8318 Setting debian default distribution to stretch. 2015-04-28 07:58:16 +02:00
Daniel Reichelt 055517567a Don't truncate files outside the build chroot.
The list of files passed to Truncate() might contain absolute symlinks
pointing to files outside the chroot, which previously destroyed files on
the build host.
2015-04-26 20:20:24 +02:00
Daniel Baumann 151e21291c Making functions/chroot_bind_path.sh executable within the source tree (Closes: #777096). 2015-02-07 06:46:45 +01:00
Fathi Boudra 9d95afb9f6 Adding linux flavours for arm64/armhf architectures.
Signed-off-by: Fathi Boudra <fabo@debian.org>
2015-02-04 10:16:02 +02:00
Daniel Baumann e51315ae1e Switching to default to linux-image-586 on i386. 2015-01-26 06:30:49 +01:00
Daniel Baumann 19b372223b Correcting packagelist parsing when packages are listed with notation of a specific version (Closes: #775832). 2015-01-25 12:23:13 +01:00
Daniel Baumann 1f0a9d9ee0 Enabling security and release updates for jessie. 2015-01-25 10:04:13 +01:00
Daniel Baumann 242aef5d83 Updating year in copyright notices to 2015. 2015-01-04 20:05:44 +01:00
Daniel Baumann 93592a81b6 Dropping some sparc leftovers (Closes: #774196). 2015-01-04 18:58:35 +01:00
Daniel Baumann fdc9250bca Changing package dependency checks within chroot to work outside as well. 2015-01-04 18:19:47 +01:00
Daniel Baumann b814f4e07e Dropping cdebootstrap support (Closes: #773657).
debootstrap is the official tool to bootstrap debian,
cdebootstrap has had the one or other bug making it
broken for times during the release cycles.

The extra effort of supporting both debootstrap
and cdebootstrap is hardly worth it since the bootstrap
stage is cached anyway.
2014-12-23 22:54:41 +01:00
Daniel Baumann cb7e5f256c Cleaning up from python removal (LIVE_IMAGE_PARENT_ARCHIVE_AREAS). 2014-12-10 09:19:07 +01:00
Daniel Baumann 07253b661c Updating misc settings for progress-linux. 2014-12-10 09:01:06 +01:00
jnqnfe 31dbf95d86 Address "should check that we're building on debian through e.g. a 'derivative-is-based-on' variable or somesuch" fixme. 2014-12-10 08:44:05 +01:00
Jan Blunck 9d5639e9a0 Bind local repository into chroot directory.
If a local repository path is given as a mirror URL lets bind it into the
chroot. The local repository will be unmounted while processing "remove" or
latest by the exit function.
2014-12-10 08:43:02 +01:00
Raphaël Hertzog 04a09f27e4 Skip comments in package lists.
Comments in package lists used to work in live-build 3.x (although
possibly only as a side-effect of some other logic) and being able to
comment package is a useful feature (to explain why some packages are
included and to make it easy to uncomment some lines to add more useful
packages).
2014-12-10 08:42:31 +01:00
Daniel Baumann b5e99b5b14 Dropping support for wheezy. 2014-12-10 08:38:42 +01:00
Daniel Baumann 048c0827ae Somewhat fixing sysvinit and casper legacy support, slightly improved patch from Rui Miguel P. Bernardo <rui.bernardo.pt@gmail.com> (Closes: #772522, #772651).
This however will still not work properly building upstart based
images but they have been broken/unsupported anyway since a long
time.
2014-12-10 08:19:48 +01:00
jnqnfe 7ce5cc19f8 Fix broken calls to Get_conffiles() from Read_conffiles() and Print_conffiles() (Closes: #770645). 2014-12-10 07:46:29 +01:00
Daniel Baumann 2eecd1b814 Cleaning up from python removal (LIVE_IMAGE_ARCHIVE_AREAS). 2014-12-10 07:41:29 +01:00
Daniel Baumann 1f7f6dd88a Cleaning up from python removal (LIVE_IMAGE_ARCHITECTURE). 2014-12-10 07:39:58 +01:00
Raphaël Hertzog 571c89447b Update linux flavours for armhf/armel.
With linux 3.16 in Debian Jessie, armmp and armmp-lpae are the
only armhf flavours availale. On armel, we lost the support of
the iop32x flavour.
2014-12-10 06:19:55 +01:00
Daniel Baumann 7f1f542cea Updating default boot parameters for live-config 4.x. 2014-04-30 07:16:32 +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 389dd5f278 Allow cache directories to be symlinks as well (Closes: #741934). 2014-04-27 12:28:29 +02:00
Daniel Baumann 03e6d8d5a6 Switching default debian release to jessie. 2014-04-27 07:23:45 +02: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
Daniel Baumann eb336bb782 Updating copyright notices for 2014. 2014-02-08 17:47:24 +01:00
Daniel Baumann 0aa8289a37 Switching from global lock file to config tree specific one. 2013-11-04 09:07:51 +01:00
Daniel Baumann 1bcc449483 Automatically symlink hooks upon creation of the configuration tree. 2013-11-03 21:18:10 +01: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 34baf50ab3 Replacing s390 with s390x in architecture specific defaults. 2013-10-15 12:20:42 +02:00
Daniel Baumann dcf1ff484a Updating initsystem default for progress-linux releases. 2013-09-06 20:05:07 +02:00
Daniel Baumann 1807e40dd3 Avoid failing on package lists fails that have no newline at the end. 2013-06-24 15:24:04 +02:00
Daniel Baumann 24cfdfc6a3 Adding hook to remove ssl-cert-snakeoil by default. 2013-06-19 08:01:03 +02:00
Daniel Baumann 3fdb02cd3d Dropping some EOL ubuntu release information. 2013-05-31 13:56: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 01e91f9c21 Adding hook to disable 70-persistent-cd.rules udev rule to prevent udev remember the cd device name both the one of the build system and the one of the live system (Closes: #706926). 2013-05-06 20:07:09 +02:00
Daniel Baumann 45f1f9f0a0 Renaming remove-udev-persistent-rules.chroot hook to remove-udev-persistent-net-rules.chroot for future additional udev hooks. 2013-05-06 19:40:42 +02:00
Daniel Baumann aca016217d Enabling release updates (formerly known as volatile) for wheezy. 2013-05-06 14:50:08 +02:00
Daniel Baumann a99b0ab378 Updating bootstrap mirror for progress-linux. 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
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
Michael Stummvoll ff6a7fd628 Fixing missing quotes for tr commands to avoid unwanted expansions.
[A-Z] and [a-z] expands if there is a file or directory with one letter in the
directory.
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 5af1a82d71 Adding check for ntfs-3g on the host system, precluding the initial ntfs binary filesystem support (Closes: #697793). 2013-05-06 14:50:07 +02:00
Daniel Baumann 157ba67478 Setting memtest default to none. 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 59ce459f40 Removing all references to my old email address. 2013-05-06 14:50:06 +02:00
Raphaël Hertzog 212e5bedd3 Increasing oversizing factor of ext* filesystems from 5 to 6%.
At least on armel with ext4, 5% turned out to not be enough in some use
cases. With 6% the failure was gone.
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 8ffca00a5e Adding release version for ubuntu raring. 2013-05-06 14:50:05 +02:00
Daniel Baumann 8db9f23ca4 Defaulting to latest ubuntu release by default in ubuntu mode. 2013-05-06 14:50:05 +02:00
Daniel Baumann 03cd6cded0 De-debianizing linux-flavour defaults on i386 and only including 486.
This is 'debranding' in the sense that live-build defaults are for people
building images with a config from scratch, live-build should not
have the options that we use for the official prebuilt debian-live
images as debian-defaults for all images and force that upon everyone
(as defaults). Rather, a 'lb config' should produce a as vanilla as
possible configuration tree.
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 442dfb4669 Aborting with error if hdd label has a whitespace (Closes: #648861). 2013-05-06 14:50:05 +02:00
Daniel Baumann 300b9534ca Updating wheezy release number. 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 772af17699 Adding hook to remove systemd machine-id. 2013-05-06 14:50:05 +02:00
Daniel Baumann a00d69e7d8 Switching default binary filesystem for hdd images to fat32 to be more robust on todays flash devices. 2013-05-06 14:50:05 +02:00
Daniel Baumann ecd971b76c Updating wheezy pre-release number for b4. 2013-05-06 14:50:04 +02:00
Daniel Baumann 8037a14116 Correcting variable default assignment for new configuration tree layout. 2013-05-06 14:50:04 +02:00
Richard Nelson fc7c8e019d Correcting typo on functions/default.sh, thanks to jhcha54008 <jhcha54008@free.fr> (Closes: #698397). 2013-05-06 14:50:04 +02:00
Daniel Baumann bcab60fdf7 Defaulting to obsolete md5 for checksums instead of sha256 on debian, as debians cdrom-check in d-i only supports md5. 2013-05-06 14:50:04 +02:00
Daniel Baumann 62d94a4454 Updating year in all copyright notices. 2013-05-06 14:50:03 +02:00
Daniel Baumann a9756a5e29 Setting debian-installer to false in all modes by default. 2013-05-06 14:50:03 +02:00
Daniel Baumann 2eba556443 Dropping support for now unused includes feature in package lists. 2013-05-06 14:50:03 +02:00
Daniel Baumann 1ca3077055 Switching order of kernel flavours in defaults, the last added one in the list becomes the default symlink target in the rootfs by apt. 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 8248ffd20f Updating comment for image name config handling. 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 3385eb8cbe Setting default name to live-image for the time being. 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 3cb7d3163a Correcting architecture defaults. 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 904824308a Also reading in existing values from new config tree format. 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 a595e9c1bc Disabling accidentally enabled removal of apt sources hook by default. 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 9a3de4beba Removing some dead default handling code for global includes which do not exist anymore. 2013-05-06 14:50:02 +02:00
Daniel Baumann f73debcdc5 Correcting config tree version check for the current version. 2013-05-06 14:50:02 +02:00
Daniel Baumann fee5cd9ce9 Correcting config tree version check for older versions. 2013-05-06 14:50:02 +02:00
Daniel Baumann 0eb6a7bdae Renumbering hooks. 2013-05-06 14:50:02 +02:00
Daniel Baumann 798e68096a Merging remove-linux-image-backups into remove-backup-files hook. 2013-05-06 14:50:02 +02:00
Daniel Baumann 4908d4d6c1 Adding default hook to use mesa glx renderer. 2013-05-06 14:50:02 +02:00
Daniel Baumann 7ce3113f44 Using consistent naming for default hooks. 2013-05-06 14:50:02 +02:00
Daniel Baumann af54c6b82c Adding default hook to use newest nvidia version. 2013-05-06 14:50:02 +02:00
Daniel Baumann d6a30e84eb Adding default hook to truncate log files. 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 cf1de1682b Moving kexec-tools default preseeding into its own hook script. 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 0ad3b01c96 Adding default hook to remove mdadm configuration.
mdadm creates a /etc/mdadm/mdadm.conf configuration file
on package installation which contains array information
from the build system.
2013-05-06 14:50:02 +02:00
Daniel Baumann b109ddb21d Updating wheezy release number. 2013-05-06 14:50:02 +02:00
Daniel Baumann ba0fe4cdc3 Updating wording about regenerating config trees. 2013-05-06 14:50:01 +02:00
Daniel Baumann 4bd9601c65 Updating version config tree version check (Closes: #695091). 2013-05-06 14:50:01 +02:00
Daniel Baumann c48033696e Adding dropped empty-line separator in defaults. 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 d318084e0d Removing some leftovers from stripped and minimal package lists. 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 42e1c47a01 Correcting variable typo when setting distribution specific defaults of the backports mirror for the binary image. 2013-04-29 12:54:16 +02:00
Daniel Baumann bd23368c70 Enabling release updates (formerly known as volatile) for wheezy. 2013-04-25 16:54:41 +02:00
Daniel Baumann ac6d1c319d Updating debian-backports mirrors for wheezy. 2013-04-25 16:43:58 +02:00
Daniel Baumann ea0a65be4c Updating bootstrap mirror for progress-linux. 2013-04-19 10:33:04 +02:00
Daniel Baumann ab3d2eae25 Removing non-existent --apt-indices none references. 2013-04-09 05:40:12 +02:00
Daniel Baumann a99ec2cd62 Aborting with error if hdd label has a whitespace (Closes: #648861). 2013-04-09 05:22:12 +02:00
Daniel Baumann f765659688 Updating squeeze point-release number. 2013-02-14 15:24:28 +01:00
Daniel Baumann a4f981f305 Updating wheezy release number. 2013-02-14 15:24:15 +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 4da218e858 Adding hook to remove systemd machine-id. 2013-02-08 21:40:28 +01:00
Daniel Baumann a1a7b3aaa9 Switching default binary filesystem for hdd images to fat32 to be more robust on todays flash devices. 2013-01-24 19:17:52 +01:00
Daniel Baumann 35b88189b6 Updating wheezy pre-release number for b4. 2013-01-20 15:13:07 +01:00
Richard Nelson 5d01d457d5 Correcting typo on functions/default.sh, thanks to jhcha54008 <jhcha54008@free.fr> (Closes: #698397). 2013-01-18 05:42:00 +01:00
Daniel Baumann 12506ec1c6 Updating wheezy beta-release number. 2013-01-04 16:10:04 +01:00
Daniel Baumann bfbd7af101 Defaulting to obsolete md5 for checksums instead of sha256 on debian, as debians cdrom-check in d-i only supports md5. 2013-01-02 10:38:51 +01:00
Daniel Baumann a203b86fdd Updating year in all copyright notices. 2013-01-01 00:13:01 +01:00
Daniel Baumann 0fc826ab7e Setting debian-installer to false in all modes by default. 2012-12-31 23:59:12 +01:00
Daniel Baumann db43ae0851 Switching order of kernel flavours in defaults, the last added one in the list becomes the default symlink target in the rootfs by apt. 2012-12-30 14:40:23 +01:00
Daniel Baumann ab9cf9e4b3 Disabling accidentally enabled removal of apt sources hook by default. 2012-12-19 06:44:54 +01:00
Daniel Baumann 7e8240cd5e Removing kubuntu mode, it's not different anymore to standard ubuntu mode. 2012-12-17 13:51:44 +01:00
Daniel Baumann 0b87c8239b Removing some dead default handling code for global includes which do not exist anymore. 2012-12-17 13:43:16 +01:00
Daniel Baumann f9b415c580 Correcting config tree version check for the current version. 2012-12-17 13:41:26 +01:00
Daniel Baumann 8d69592122 Correcting config tree version check for older versions. 2012-12-17 13:36:27 +01:00
Daniel Baumann a46350d7b3 Renumbering hooks. 2012-12-17 00:22:28 +01:00
Daniel Baumann 9d9e343f95 Merging remove-linux-image-backups into remove-backup-files hook. 2012-12-17 00:15:38 +01:00
Daniel Baumann 50c2839b1b Adding default hook to use mesa glx renderer. 2012-12-17 00:10:39 +01:00
Daniel Baumann 995031ed72 Using consistent naming for default hooks. 2012-12-17 00:08:41 +01:00
Daniel Baumann f8ac7662a7 Adding default hook to use newest nvidia version. 2012-12-17 00:06:33 +01:00
Daniel Baumann 5b11bd1a06 Adding default hook to truncate log files. 2012-12-16 23:58:54 +01:00
Daniel Baumann 43434c2f6a Moving removal of backup and temporary files to their own hook script. 2012-12-16 23:56:55 +01:00
Daniel Baumann 18c8ece239 Moving kexec-tools default preseeding into its own hook script. 2012-12-16 23:48:24 +01:00
Daniel Baumann 414b89ed3f Updating removal of adjtime in a split out hook for wheezy. 2012-12-13 20:32:18 +01:00
Daniel Baumann 8fd30d15b3 Adding default hook to remove mdadm configuration.
mdadm creates a /etc/mdadm/mdadm.conf configuration file
on package installation which contains array information
from the build system.
2012-12-12 11:43:41 +01:00
Daniel Baumann 134c9f5cbe Updating wheezy release number. 2012-12-10 22:31:26 +01:00
Daniel Baumann 37c9a7e0f0 Correcting test for no config tree version number to match all other cases, not just lower-than-1. 2012-12-04 11:31:01 +01:00
Daniel Baumann 4be0cce940 Updating wording about regenerating config trees. 2012-12-04 11:26:02 +01:00
Daniel Baumann e832622a33 Adding dropped empty-line separator in defaults. 2012-12-01 01:56:37 +01:00
Daniel Baumann d79a5200e6 Updating powerpc kernel list on ubuntu. 2012-12-01 01:50:23 +01:00
Daniel Baumann 96287e4b8f Removing some leftovers from stripped and minimal package lists. 2012-12-01 01:44:29 +01:00
Daniel Baumann f7ba1350f8 Adding default hook to remove linux-image backup files. 2012-11-28 17:43:29 +01:00
Ben Armstrong 8286f7d73c Fixing typo in cache directory names, thanks to Thanatermesis <thanatermesis@gmail.com>. 2012-11-14 21:51:38 +01:00
Daniel Baumann 4f710bc3c4 Removing debconf-nowarnings option, doesn't provide any advantage to disable this option in the first place. 2012-10-31 09:26:25 +01:00
Daniel Baumann 63a275bedc Running chrooted commands with DEBCONF_NONINTERACTIVE_SEEN set to true to ensure debconf questions are not reasked uselessly on the final systems. 2012-10-31 07:43:37 +01:00
Daniel Baumann 68b1966b94 Defaulting to systemd as initsystem for wheezy based progress-linux releases and newer. 2012-10-28 11:43:51 +01:00
Daniel Baumann ef2b0289d4 Using xargs when copying or hardlinking deb files from and to the package cache to avoid hit the shell max command limits (Closes: #691616). 2012-10-27 23:59:18 +02:00
Daniel Baumann 2caef33ea2 Renaming progress mode to progress-linux to match the used naming scheme. 2012-10-25 13:36:18 +02:00
Daniel Baumann bd5f6bc104 Renaming config/binary_debian-installer to simply config/debian-installer. 2012-10-22 20:30:41 +02:00
Daniel Baumann 1fc33f6afb Renaming local/scripts to local/bin for executables overriding not just lb scripts, but any command during live-build runs. 2012-10-22 19:20:12 +02:00
Daniel Baumann dd43976fb7 Correcting variable handling for --bootappend-live-failsafe in defaults. 2012-10-08 20:16:40 +02:00
Daniel Baumann 5f7780597e Simplifying bootparameter assembling in defaults. 2012-10-08 20:01:30 +02:00
Daniel Baumann a7227d4ebc Stopping to support LB_INITRAMFS=auto, when switching the mode one has to update several parameters anyway, use of auto scripts are recommended. 2012-10-08 20:00:41 +02:00
Daniel Baumann 81029d0e72 Setting default compression to none.
Normally, when using compressed file systems (squashfs),
there is no point in further compressing the tarballs and images.
2012-10-04 20:13:28 +02:00
Daniel Baumann 84dcf4ed02 Making different boot options defaults depending on initramfs generator, not depending on mode. 2012-10-04 14:26:44 +02:00
Daniel Baumann 56e4085c60 Making failsafe boot parameters fully customizable like the normal ones. 2012-10-04 14:25:01 +02:00
Daniel Baumann 36d3b1a510 Removing ubuntu natty support, EOL. 2012-10-03 13:49:25 +02:00
Daniel Baumann fd445ce765 Booting by default with 'quiet' and 'splash' parameters. 2012-10-01 13:11:40 +02:00
Daniel Baumann b18de1adea Updating wheezy pre-release version. 2012-10-01 03:34:05 +02:00
Daniel Baumann 236d04d701 Updating squeeze point release version. 2012-10-01 03:33:46 +02:00
Colin Watson cab0d9e783 If --build-with-chroot is false, run ! lines in package-lists in the host system. 2012-09-30 09:38:17 +02:00
Colin Watson 01b64bf2b9 Using i386 -generic-pae kernel flavour on Ubuntu precise. 2012-09-30 09:28:55 +02:00
Adam Conrad 7ae630cc43 Switching Ubuntu from powerpc to powerpc-smp kernel. 2012-09-30 09:26:12 +02:00
Daniel Baumann a9bb5418c9 Using initramfs generator specific boot parameters in syslinux configuration files. 2012-09-30 09:20:15 +02:00
Daniel Baumann 7fad1b698d Including loadlin on d-i images on amd64 and i386. 2012-09-29 13:23:31 +02:00
Daniel Baumann 9228a0ca66 Renaming volatile options refering to volatile archive to updates to match current archive namings. 2012-09-26 14:43:12 +02:00
Daniel Baumann e12985ac97 Adding baureo-backports and charon-backports as valid distributions in progress mode. 2012-08-29 15:58:42 +02:00
Daniel Baumann 341bd2a096 Setting default progress distribution from artax to baureo. 2012-08-27 16:23:27 +02:00
Daniel Baumann ddd0ef9dc0 Moving aborting when no bootstrap tool is installed from defaults to the respective bootstrap script. 2012-08-27 16:05:46 +02:00
Daniel Baumann d0561821e4 Calling local live-build embedded in config directly rather than to adjust path. 2012-08-27 15:03:21 +02:00
Daniel Baumann 5f26aa5bd0 Correcting wrong bootstrap-qemu-exclude variable in defaults. 2012-08-27 14:39:14 +02:00
Daniel Baumann 9b5fc09d0f Removing bootstrap-keyring option. 2012-08-27 14:36:42 +02:00
Daniel Baumann fda74e4307 Removing bootstrap-include and bootstrap-exclude options. 2012-08-27 14:33:57 +02:00
Daniel Baumann df1cea54c5 Removing bootstrap-flavour option (Closes: #685675).
live-build does too much magic that causes too much effort in
maintaining for stuff that hardly everyone uses.

Rather than 'translating' back and forth and maintaining compatibility
between options of different debootstrap and cdebootstrap versions (and
possibly any other in the future), it's is better to 'off-load' this to
the user.

For non-live specific options passed to the bootstrap tools, we'll
be introducing --debootstrap-options and --cdebootstrap-options
where users can specify their additional options passed to the
respective bootstrap tool, rather than us maintaining them in a
'hardcoded' and selected list.
2012-08-27 14:26:11 +02:00
Daniel Baumann fd685847ad Moving from cdn.debian.net to http.debian.net as binary mirror. 2012-08-24 11:38:25 +02:00
Daniel Baumann 14f57935cd Correcting fallback for default binary volatile mirror on ubuntu, thanks to Luigi Capriotti <l.capriotti@xbmc.org>. 2012-08-14 11:38:05 +02:00
Daniel Baumann e53c79c8d0 Disabling volatile for wheezy for the time being.
Why oh why can people not just create empty indices for the
auxiliary repositories once they populate a new suite in the
main archive, this is so obvious and I say it after every
release.. Keeping these things constantly in sync with reality
is tedious, just stupid and sucks big time.
2012-07-30 18:19:29 +02:00
Daniel Baumann 508510e097 Updating GPL standard header in all files. 2012-07-30 18:19:27 +02:00
Daniel Baumann 81fb429453 Dropping global package-lists entirely, only local package lists within the config tree are support. 2012-07-29 00:29:23 +02:00
Daniel Baumann a691caa0f2 Adding support for executable statements as '! $command' in package lists. 2012-07-28 23:38:43 +02:00
Daniel Baumann bedb2fa9f9 Including gnupg on ubuntu by default through corresponding default for bootstrap includes. 2012-07-28 21:01:37 +02:00
Daniel Baumann a16be4ab5e Updating all distribution specific selectors in defaults to be as future proof as possible. 2012-07-27 23:29:19 +02:00
Daniel Baumann 825f24f97d Adding release information for jessie. 2012-07-27 22:45:27 +02:00
Daniel Baumann 8473b925fd Fixing up inclusion of functions while allowing local usage of live-build with different file layouts. 2012-07-19 21:11:59 +02:00
Daniel Baumann 9a5a53f185 Correcting spelling typo of ubuntus 12.10 codename. 2012-07-18 22:35:22 +02:00
Daniel Baumann 8bbc483198 Setting initial release number for wheezy. 2012-07-18 22:33:54 +02:00
Daniel Baumann 3c5dabc9fb Updating squeeze point-release number. 2012-07-18 22:33:23 +02:00
Daniel Baumann 2d94f79d0a Adding support for ntfs as binary filesystem when using syslinux. 2012-07-18 22:30:15 +02:00
Daniel Baumann c07a76f649 Decrufting version flag. 2012-07-18 21:55:08 +02:00
Daniel Baumann 27f7d92862 Using xz to compress images on anything except squeeze, keeping gzip as default for squeeze. 2012-07-18 20:07:08 +02:00
Daniel Baumann f4de284deb Adding xz as valid compression format. 2012-07-18 20:07:06 +02:00
Daniel Baumann 75ca21eaec Adding support for zsync control files generation, thanks to Hector Oron <hector.oron@gmail.com> for the idea and prototype. 2012-07-18 19:37:20 +02:00
Daniel Baumann 310be05bff Renaming net flavour to netboot for consistency. 2012-07-18 19:26:07 +02:00
Daniel Baumann 87374242c6 For consistency, respecting config/environment too for both chroot and binary environments (but the content of sepcific environments for either chroot or binary still has precedence over the generic one). 2012-06-06 21:32:08 +02:00
Daniel Baumann f74ac47691 Removing unmaintained l10n handling. 2012-06-06 19:59:15 +02:00
Daniel Baumann 46f13db55a Updating l10n stuff before removing it. 2012-06-06 19:59:15 +02:00
Daniel Baumann e906e78462 Defaulting to SHA256 live-media checksums. 2012-06-05 17:42:07 +02:00
Daniel Baumann 328222f8c7 Moving local includes from auto/{functions,scripts} to local/{functions,scripts} where they belong. 2012-06-04 11:55:22 +02:00
Daniel Baumann aa0c0fb107 Renaming internal .stage to .build for consistency within the configuration tree. 2012-06-03 22:42:41 +02:00
Daniel Baumann 5953d2c948 Don't bother supporting firmware on ubuntu, they seem to have a different archive structure. 2012-06-03 08:24:31 +02:00
Daniel Baumann 10c79ed504 Removing pre-squeeze XORG_CONFIG variable from the chroot environment. 2012-05-31 13:19:36 +02:00
Daniel Baumann 75a671efca Allowing to use comments in config/environment.{binary,chroot}. 2012-05-31 13:16:19 +02:00
Daniel Baumann 3eb2b243cc Cleaning http_proxy and ftp_proxy settings in chroot, people using apt proxies set them throught the apt pseudo-proxy options, and people using real proxies use config/environment.{chroot,binary} to set them. 2012-05-31 13:12:13 +02:00
Daniel Baumann cb3d6ca77f Allowing to inject variables through config/environment.chroot into the chroots environment. 2012-05-24 09:41:27 +02:00
Daniel Baumann ad8e313e7a Updating release list for ubuntu. 2012-04-28 09:40:32 +02:00
Daniel Baumann 58cb79b8cd Transforming failsafe boot parameter into an own option. 2012-04-27 20:31:49 +02:00
Daniel Baumann 1315e5b1f5 Unconditionally including firmware in all images by default. This is safe since only firmware available within the configured archive area is included automatically, see manpage. 2012-04-26 23:11:25 +02:00
Daniel Baumann b8bf4da08f Adding support for including firmware packages automatically within the live system. 2012-04-26 22:39:36 +02:00
Daniel Baumann bbd9c284e4 Adding support for including firmware packages automatically within debian-installer. 2012-04-26 22:28:48 +02:00
Daniel Baumann d2be2946db Updating defaults for linux-latest metapackages in wheezy. 2012-04-23 12:35:10 +02:00
Daniel Baumann c3a1b3cdae Updating release list for ubuntu. 2012-03-19 16:27:09 +01:00
Daniel Baumann 3f200da939 Updating release list for progress. 2012-03-19 16:26:31 +01:00
Daniel Baumann 98192da0b9 Switching default bootstrap mirror from ftp.de.debian.org to ftp.debian.org, now that ftp.debian.org has upgraded hardware and bandwith. 2012-03-04 21:05:37 +01:00
Daniel Baumann d4d4265357 Excluding security and volatile archives for ubuntu precise for the the time being. 2012-03-03 13:37:16 +01:00
Daniel Baumann 7809c0ef96 Removing --username cruft, live-config bootparameters should be used via --bootappend-live. 2012-02-26 19:55:28 +01:00
Daniel Baumann ea22359fa6 Removing --hostname cruft, live-config bootparameters should be used via --bootappend-live. 2012-02-26 19:50:49 +01:00
Daniel Baumann 47e8fa8c2a Removing full path from chroot calls in chroot function.
Temporarily, we had /usr/share/live/build/scripts/build/lb_* named
without the lb_* prefix which made calling chroot being called with
full path in order to diffrentiate between lb chroot and /usr/sbin/chroot
when usling live-build from a local source tree.
2012-02-20 14:12:10 +01:00
Daniel Baumann 84c185055f Add forgotten fallback for mode setting if lsb_release is not installed. 2012-02-16 21:40:18 +01:00
Daniel Baumann cc5e2ad304 Correcting typo in ubuntu default distribution name, thanks to Marco Lechner <marco.lechner@fossgis.de> (Closes: #659823). 2012-02-14 05:35:26 +01:00
Daniel Baumann 636a416717 Correcting typo in defaults for backports mirror. 2012-02-13 21:01:28 +01:00
Daniel Baumann db4b354436 Improve backports handling in derivatives mode.
If LB_BACKPORTS=true, then backports are configured in sources.list,
however, not enabled.

If backports are enabled depends on pinning, either manually through
apt/preferences.d snipplets in local includes/chroot_apt, or,
depending on distribution (e.g. building artax-backports enables
pinning automatically).
2012-02-06 23:15:13 +01:00
Daniel Baumann 822dc2c028 Updating year in copyright notices for 2012. 2012-02-06 23:15:12 +01:00
Daniel Baumann eff9c23843 Updating squeeze point release number. 2012-02-06 23:15:11 +01:00
Daniel Baumann 43105e7a2d Autodetecting mode depending on which distribution we're building. 2012-02-06 23:15:11 +01:00
Daniel Baumann 98932c4edf Correcting typo in security chroot mirror variable assembling. 2012-02-06 23:15:11 +01:00
Daniel Baumann ee58b8ab8d Applying patch from Ivailo Monev to remove stage files for pseudo-filesystems helpers in exit function. 2012-02-06 23:15:10 +01:00
Daniel Baumann 4e2a532f37 Updating lb_binary_syslinux for embedded syslinux themes. 2012-02-06 17:02:58 +01:00
Daniel Baumann 07ca41c280 Setting default mirror for progress to cdn.archive.progress-linux.org. 2012-01-18 23:06:21 +01:00
Daniel Baumann df0721e87a Switching priorities of mirror defaults (which mirror default is used from which previously set mirror default etc.) to the way it was intendet to be.
If not building a derivative with two seperate repositories,
users should only need to bother about setting the
--mirror*|LB_MIRROR* options, the --parent-mirror*|LB_PARENT_MIRROR*
does get set automatically correctly now.
2012-01-12 13:19:24 +01:00
Daniel Baumann 1ff06c2f81 Adding armhf kernel defaults, thanks for Ying-Chun Liu <paulliu@debian.org> for bringing it up (Closes: #655557). 2012-01-12 11:42:09 +01:00
Matthijs Kooijman 02b9dc3ea9 Unmount /root/config in case of error.
When there is an error, the Exit() handler unmounts filesystems within
the chroot. This adds /root/config to the list used when /proc/mounts is
not available.
2012-01-10 21:54:58 +01:00
Daniel Baumann f57757371b Enabling contrib and non-free by default for progress. 2011-12-30 09:41:31 +01:00
Daniel Baumann c9a7e8b3f6 Inverting logic for defaults or archive-areas wrt/ parent and derivatives. 2011-11-29 13:06:11 +01:00
Daniel Baumann e92e0b7f4a Also setting 5% margin for ext4 images, thanks to Neil Wilson <neil@aldur.co.uk> for spotting it (Closes: #647601). 2011-11-04 13:45:37 +01:00
Daniel Baumann d4563b9202 Correcting defaults d-i mirror for progress. 2011-10-30 08:46:02 +01:00
Daniel Baumann 171207435f Adding precise in releases list. 2011-10-28 14:31:36 +02:00
Daniel Baumann ae5cef81b2 Adding expire date for oneiric in releases list. 2011-10-28 14:29:58 +02:00
Daniel Baumann 6d7dbfbee9 Adding hook to remove dbus machine id. 2011-10-22 18:06:03 +02:00
Daniel Baumann cf3e1d8911 Disable backports forcefully when building artax-backports images direcly. 2011-10-16 09:02:09 +02:00
Daniel Baumann 9e2f545557 Correcting typo in defaults for system variable. 2011-10-13 19:50:48 +02:00
Daniel Baumann 92c56ca826 Updating squeeze point release number. 2011-10-13 09:38:32 +02:00
Ben Howard d90c311ef9 Adding foreign bootstrap via qemu for cross arch building. 2011-10-05 07:38:53 +02:00
Daniel Baumann 88b090e59c Removing EOL Ubuntu dapper from release information. 2011-09-30 12:11:03 +02:00
Daniel Baumann b89413a11e Setting default ubuntu release to oneric. 2011-09-30 12:11:03 +02:00
Colin Watson e6140b821a Defaulting to ubuntu-oneiric syslinux theme on Ubuntu. 2011-09-30 12:11:03 +02:00
Adam Conrad ab40254d0e Using the correct mirror locations for Ubuntu ports. 2011-09-30 12:11:03 +02:00
Daniel Baumann 96e86b96d8 Adding --system option to define the resulting image type to be a live system or a normal, non-live system. 2011-09-30 00:56:49 +02:00
Ben Howard 6b8183c277 Setting default armel linux flavour for Ubuntu. 2011-09-30 00:26:06 +02:00
Daniel Baumann 94e610f2e5 Renaming virtual-hdd-root-size to hdd-size in preparation of merging virtual-hdd into hdd. 2011-09-28 11:39:40 +02:00
Yaroslav Halchenko 365a0c2062 Enclosing shell variables for iso-* defaults in escaped double-quotes while evaluating for the length to allow using parentheses (Closes: #642463). 2011-09-22 21:11:31 +02:00
Daniel Baumann 7b9ecc7976 Switching away from cdn.debian.net as default mirrors for progress, too unreliable outside of Europe. 2011-09-14 21:18:15 +02:00
Daniel Baumann f38ef7f469 Renaming usb-hdd binary image type to simply hdd.
This is the first step in conglomerating code for all hdd-ish
image types, independent of the partitioning scheme being used,
and adding future hdd-ish image types for virtualiziation software.
2011-09-13 09:10:30 +02:00
Daniel Baumann 6f55ec4fb1 Correcting syntax error in tr command used in default for hdd-label in progress mode. 2011-09-13 08:58:30 +02:00
Daniel Baumann bb718340e2 Adding option for setting filesystem label on usb-hdd images. 2011-09-12 09:19:30 +02:00
Daniel Baumann 80fa0406d9 Correcting wrong spelling of cache in exit function, thanks to David Endler for spotting it. 2011-09-07 20:00:40 +02:00
Daniel Baumann 65f626fe9c Improve message when skipping a helper because it is already run. 2011-09-07 15:53:50 +02:00
Daniel Baumann ef53525970 Automatically using an embedded live-build copy from within the config tree at local/live-build, if existing.
This allows to ship (an almost) self contained config tree.
2011-09-01 09:27:29 +02:00
Daniel Baumann dfde086f35 Only calling udevadm in losetup function when udev is installed on the host system. 2011-08-27 20:50:19 +02:00
Daniel Baumann 5d2fbf5d5a Adding support for ext4 for binary and chroot filesystem, including partial patch from Ben Howard <ben.howard@canonical.com> (Closes: #639298). 2011-08-25 23:47:30 +02:00
Daniel Baumann 7dd4473d5a Renaming --apt-source to --apt-source-archives. 2011-08-24 23:30:22 +02:00
Daniel Baumann 72ec4c30be Avoiding magic defaults for --apt-indices option when using minimal or stripped packagelist. 2011-08-24 23:16:13 +02:00
Daniel Baumann ad518cce94 Setting apt-source to false in progress mode. 2011-08-24 22:59:46 +02:00
Daniel Baumann 3ceb68b7d4 Introducing --apt-sources option to control if the live system should have deb-src entries in sources.list. 2011-08-24 22:46:32 +02:00
Daniel Baumann 88befb1766 Moving removal of udev persistent rules from chroot_hacks to a hook, that way it can be easily skipped if desired. 2011-08-23 17:13:45 +02:00
Daniel Baumann 9a59c0a2d6 Moving removal of openssh-server host keys from chroot_hacks to a hook, that way it can be easily skipped if desired. 2011-08-23 17:10:38 +02:00
Daniel Baumann febcb6bbf4 Enabling volatile suite for progress itself in progress mode. 2011-08-13 09:08:04 +02:00
Richard Nelson ee09790f6d Correcting path to VERSION file. 2011-08-08 22:53:49 -05:00
Daniel Baumann 9a94a6d6d9 Using global version file rather than using copied information in functions/common.sh. 2011-08-08 21:19:44 +02:00
Daniel Baumann be6a22556b Releasing debian version 3.0~a28-1. 2011-08-08 21:13:15 +02:00
Daniel Baumann 636155709a Releasing debian version 3.0~a27-1. 2011-08-08 08:10:11 +02:00
Daniel Baumann 6167d107f6 Releasing debian version 3.0~a26-1. 2011-08-04 21:53:37 +02:00
Daniel Baumann b6825361ef Correcting indentiation in hook defaults assignment. 2011-08-04 21:49:46 +02:00
Daniel Baumann f3fd3dc2a9 Adding hook to update apt-file cache (Closes: #636440). 2011-08-04 21:47:46 +02:00
Daniel Baumann 6a577d37f6 Setting default kernel flavours for armel to all available flavour due to the nature of armel images (single rootfs image, multiple kernel images). 2011-07-29 15:27:18 +02:00
Daniel Baumann 046e32b5b0 Add forgotten handling of already set chroot_hooks in defaults. 2011-07-24 09:28:49 +02:00
Daniel Baumann 143e793eb7 Updating derivatives handling for d-i mirror defaults to better match the reality that by default, most derivatives are not going to actually rebuild d-i. 2011-07-21 18:44:22 +02:00
Daniel Baumann de6a971029 Setting default compression levels to -6 for gzip, bzip, lzip and lzma tarballs. 2011-07-21 17:48:17 +02:00
Cody A.W. Somerville 0d2cc22efc Adding function for more resilient detachment of loopback devices. 2011-07-21 17:00:54 +02:00
Daniel Baumann b7f70c339f Avoid to hijack root-command with linux32, rather set use it in the chroot function only. 2011-07-20 18:10:39 +02:00
Cody A.W. Somerville 968be1f426 Appending 'linux32' to LB_ROOT_COMMAND if 'uname -m' is x86_64 and LB_ARCHITECTURE is i386. 2011-07-20 08:54:54 +02:00
Daniel Baumann e4793268a3 Enabling hooks based on the mode we're building for. 2011-07-19 11:57:21 +02:00
Daniel Baumann eb2a305a5f Saving packages in cache even when failing or interrupting a build (Closes: #586929). 2011-07-19 11:13:17 +02:00
Daniel Baumann ef2752faab Adding kubuntu mode in order to have different defadefault hooks enabled for ubuntu and kubuntu (needed for #630088). 2011-07-19 10:51:20 +02:00
Richard Nelson 1f431a739b Update VERSION in common.sh to match last release. 2011-07-15 15:39:20 -05:00
Daniel Baumann 10b0b77f0f Using updated kernel default flavours for sid also for wheezy. 2011-07-14 08:24:33 +02:00
Daniel Baumann 3bf765da2b Releasing debian version 3.0~a23-1. 2011-06-29 07:58:23 +02:00
Daniel Baumann d7b042aa03 Releasing debian version 3.0~a22-1. 2011-06-29 06:20:23 +02:00
Daniel Baumann f68ecad438 Making copyright headers distribution neutral. 2011-06-21 09:11:49 +02:00
Colin Watson e0a1da6aba Fix default for LB_PARENT_ARCHIVE_AREAS (Closes: #630604). 2011-06-15 22:30:36 +02:00
Daniel Baumann db4943c415 Moving internal global package lists from 'lists' to 'package-lists'. This is not a user visible change. 2011-06-15 21:47:45 +02:00
Daniel Baumann 535051e43d Setting default distribution to wheezy (at least until #622838 is handled). 2011-06-15 21:14:23 +02:00
Colin Watson 65ac1c651c Make --architectures armel only fail if --linux-flavours was not passed (Closes: #630464). 2011-06-14 12:14:22 +02:00
Daniel Baumann f42443464a Releasing debian version 3.0~a21-1. 2011-06-13 20:43:25 +02:00
Colin Watson 5d228a8e3e Add --initramfs-compression option (Closes: #627677). 2011-06-13 20:38:44 +02:00
Colin Watson abcc4ca9bf Add --swap-file-path and --swap-file-size options (Closes: #629637). 2011-06-13 20:08:34 +02:00