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