Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-01-23 | Reproducible fix for glibc | Roland Clobus | |
2020-09-25 | Use truncate --no-create --size=0 to truncate files | Raphaël Hertzog | |
This avoids the permission error due to /proc/sys/fs/protected_regular = 2 setting which is now enabled by default in bullseye. | |||
2020-05-01 | Replace 'which' with 'command -v' to test for the existance of an executable | johnraff | |
This is considered to be more robust. Two instances remain: scripts/build/chroot_archives, line 257: if [ "${LB_APT}" = "aptitude" ] && [ ! $(Chroot chroot "which aptitude") ] The command is run inside a chroot where the environment might be special, and would need further testing. manpages/Makefile, line 42: @if [ ! -x "$$(which po4a 2>/dev/null)" ]; \ I am insufficiently familiar with makefile syntax to edit this. | |||
2020-04-23 | Add updated directives to enable cryptsetup support in initrd | Raphaël Hertzog | |
This fixes cryptsetup modules not being installed into initrd with warning: > cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries > nor crypto modules. If that's on purpose, you may want to uninstall the > 'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs > integration and avoid this warning. Thanks-to: Marcel Partap | |||
2020-04-23 | Fix indentation | Raphaël Hertzog | |
2020-03-12 | Revert "Test for executables: replace 'which' with more robust 'command -v'" | Luca Boccassi | |
This reverts commit 2d9ab1f7f82f9a98b97d1503c1e3f31c86061c15. Causes test failure due to bashism. | |||
2020-03-12 | Test for executables: replace 'which' with more robust 'command -v' | johnraff | |
Instances of: if [ $(which <command> ] have been replaced with: if command -v <command> >/dev/null which is considered to be more robust in a range of environments. scripts/build/chroot_archives: line 259: if [ "${LB_APT}" = "aptitude" ] && [ ! $(Chroot chroot "which aptitude") ] has been left untouched because the chroot might require a more complex command which would need more testing. manpages/Makefile: line 42: @if [ ! -x "$$(which po4a 2>/dev/null)" ]; \ has been left untouched because I am not sufficiently familiar with makefiles. | |||
2020-03-10 | hooks: run bin without explicit path | Lyndon Brown | |
this got lost in reworking 7ee59d408ed7681908966a5b2fb28e8f98116d31 Gbp-Dch: Short | |||
2020-03-09 | fix consistency in binary execution and existance checking | Lyndon Brown | |
- prefer using `which` over hard coded paths - it is redundant to check that the bin pointed to the return of `which` exists and is executable, `which` already gives us assurance of that if it returns true! - the redirection of output (`2>/dev/null`) seems to be unnecessary from my testing. the instances relatnig to fdisk and losetup in functions/defaults.sh have been left as they are since they get executed by `lb config` which can run without sudo elevation unlike `lb build` and in that case `which` would fail to find these binaries resulting in error. this also fixes a bug showing an error for missing debootstrap - this tool requires sudo privileges to run and thus is not found via a none elevated which search. Gbp-Dch: Short Closes: #952927 | |||
2017-08-29 | Initialize /etc/default/locale with LANG=C.UTF-8 | Raphaël Hertzog | |
That way we always have a valid UTF-8 locale even when we don't have the "locales" (or "locales-all") package installed. | |||
2015-05-20 | Splitting non-live specific hooks into their own subdirectory within hooks. | Daniel Baumann | |
2015-05-02 | Moving hooks to hooks/live, both in live-build sources and live-build configs. | Daniel Baumann | |
Really soon live-build will support building non-live images out-of-the-box. Therefore moving hooks into a live specific subdirectory. | |||
2015-05-02 | Adding hook to disable tmpfs on /tmp when using sysvinit, previously done by ↵ | Daniel Baumann | |
live-config. | |||
2015-02-23 | Adding hook to create locales files. | Daniel Baumann | |
2014-11-10 | Adding hook to enable cryptsetup (Closes: #767195). | Daniel Baumann | |
2014-08-22 | Correcting wrong target for /etc/mtab symlink in create-mtab-symlink hook, ↵ | Daniel Baumann | |
thanks to Ben Armstrong <synrg@sanctuary.nslug.ns.ca>. | |||
2014-06-25 | If /etc/mtab exists as a file, replace it with a symlink (Closes: #746570). | Simon McVittie | |
2014-05-01 | Adding hook to create /etc/mtab as a symlink to /proc/mtab if not already ↵ | Daniel Baumann | |
existing (Closes: #746570). | |||
2014-04-28 | Truncate /etc/machine-id instead of deleting it. | Simon McVittie | |
If /etc/machine-id exists but is empty, systemd will do tricks with bind-mounts to ensure that a valid transient UUID is bind-mounted over it, which is exactly what we want for a live system. If /etc/machine-id does not exist, systemd-journald will just fail, which is undesirable. | |||
2013-11-03 | Updating configuration path in update-apt-file-cache.hook.chroot. | Daniel Baumann | |
2013-11-03 | Updating file suffixes of the internal default hooks. | Daniel Baumann | |
2013-06-19 | Adding hook to remove ssl-cert-snakeoil by default. | Daniel Baumann | |
2013-05-06 | Renumbering hook scripts. | Daniel Baumann | |
2013-05-06 | Adding hook to disable 70-persistent-cd.rules udev rule to prevent udev ↵ | Daniel Baumann | |
remember the cd device name both the one of the build system and the one of the live system (Closes: #706926). | |||
2013-05-06 | Renaming remove-udev-persistent-rules.chroot hook to ↵ | Daniel Baumann | |
remove-udev-persistent-net-rules.chroot for future additional udev hooks. | |||
2013-05-06 | Renumbering hooks. | Daniel Baumann | |
2013-05-06 | Adding hook to remove systemd machine-id. | Daniel Baumann | |
2013-05-06 | Renumbering hooks. | Daniel Baumann | |
2013-05-06 | Moving removal of actual backup files for apt sources into correct hook. | Daniel Baumann | |
2013-05-06 | Removing kubuntu mode, it's not different anymore to standard ubuntu mode. | Daniel Baumann | |
2013-05-06 | Renumbering hooks. | Daniel Baumann | |
2013-05-06 | Merging remove-linux-image-backups into remove-backup-files hook. | Daniel Baumann | |
2013-05-06 | Adding default hook to use mesa glx renderer. | Daniel Baumann | |
2013-05-06 | Using consistent naming for default hooks. | Daniel Baumann | |
2013-05-06 | Adding default hook to use newest nvidia version. | Daniel Baumann | |
2013-05-06 | Also removing man chache in remove-temporary-files hook. | Daniel Baumann | |
2013-05-06 | Adding default hook to truncate log files. | Daniel Baumann | |
2013-05-06 | Moving removal of backup and temporary files to their own hook script. | Daniel Baumann | |
2013-05-06 | Moving kexec-tools default preseeding into its own hook script. | Daniel Baumann | |
2013-05-06 | Updating removal of adjtime in a split out hook for wheezy. | Daniel Baumann | |
2013-05-06 | Adding default hook to remove mdadm configuration. | Daniel Baumann | |
mdadm creates a /etc/mdadm/mdadm.conf configuration file on package installation which contains array information from the build system. | |||
2013-05-06 | Adding debian version 4.0~a1-1.debian/4.0_a1-1 | Daniel Baumann | |
2013-02-08 | Renumbering hooks. | Daniel Baumann | |
2013-02-08 | Adding hook to remove systemd machine-id. | Daniel Baumann | |
2012-12-19 | Renumbering hooks. | Daniel Baumann | |
2012-12-19 | Moving removal of actual backup files for apt sources into correct hook. | Daniel Baumann | |
2012-12-17 | Removing kubuntu mode, it's not different anymore to standard ubuntu mode. | Daniel Baumann | |
2012-12-17 | Renumbering hooks. | Daniel Baumann | |
2012-12-17 | Merging remove-linux-image-backups into remove-backup-files hook. | Daniel Baumann | |
2012-12-17 | Adding default hook to use mesa glx renderer. | Daniel Baumann | |