summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_hacks
AgeCommit message (Collapse)AuthorFilesLines
2011-03-09Removing lpia support, this architecture is dead.Daniel Baumann1-1/+1
2011-03-09Dropping etch support.Daniel Baumann1-6/+0
2011-03-09Adding debian version 2.0~a1-1.Daniel Baumann1-1/+1
2011-03-09Merging initial and experimental grub2 support from Luigi Capriotti ↵Daniel Baumann1-1/+9
<l.capriotti@xbmc.org>. Outstanding issues: doesn't work chrooted yet, lh_binary_iso binary.sh modifications probably should be done at lh_binary_grub2.
2011-03-09Emitting a warning if resolvconf is detected on the to be generated live ↵Daniel Baumann1-0/+8
system. Beware of resolvconf, it's broken beyond repair.
2011-03-09Always rebuilding initrd in chroot_hacks to avoid inclusion of previously ↵Daniel Baumann1-3/+3
removed udev rules (such as persistent devices).
2011-03-09Not removing man/index.db in lh_chroot_hacks to keep man -k aka apropos ↵Daniel Baumann1-1/+0
working, thanks to Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr> (Closes: #527311).
2011-03-09Correcting chroot call for update-initramfs in lh_chroot_hacks.Daniel Baumann1-1/+1
2011-03-09Adding update-initramfs call back in lh_chroot_hacks, but only for netboot.Daniel Baumann1-6/+9
2011-03-09Adding lpia support.Cody A.W. Somerville1-1/+1
2011-03-09Updating year in copyright notices for 2009.Daniel Baumann1-1/+1
2011-03-09Using common function file to source shell includes.Daniel Baumann1-6/+1
2011-03-09Adding temporary workaround to 'failed to install grub' error when using ↵Daniel Baumann1-2/+19
live-installer.
2011-03-09Actually fix initrd-related breakage in chroot hacks.Cyril Brulebois1-1/+1
To actually handle the case where there are no initrds, one has to tell xargs not to run the chmod command if there are no parameters.
2011-03-09Make hacks not break if there are no initrds.Cyril Brulebois1-1/+3
Even if it's likely that initrds will be present at this stage, it might be that they went away because of local hooks, and hacks shouldn't break just because of missing initrds.
2011-03-09Translating the description of the helpersAntonio Terceiro1-1/+1
2011-03-09Even though users are supposed to have any local-includes with the correct ↵Daniel Baumann1-2/+12
owner and permissions, we set them manually on /home/user as it's likely that anybody will forget it (Closes: #506553).
2011-03-09Renaming internal Read_conffile(); to Read_conffiles(); for consistency reasons.Daniel Baumann1-1/+1
2011-03-09Enforcing lh_config to be run before lh_build, see also ↵Daniel Baumann1-1/+1
http://lists.debian.org/debian-live/2008/10/msg00102.html (Closes: #500740).
2011-03-09Ensure all files installed via chroot_local-includes are owned by root:root. ↵Chris Lamb1-8/+0
Thanks to Julien Cristau <jcristau@debian.org>. This may cause problems for users who are relying on the target uid and gid of the files in the build system's config/chroot_local-includes being the same on the live image.
2011-03-09Making sure /etc/sudoers has right owner/permissions.Daniel Baumann1-0/+4
2011-03-09Manually setting owner of /etc/skel to root.Daniel Baumann1-0/+4
2011-03-09Replacing Chroot(); call for removing the udev persistent-net rules with a ↵Daniel Baumann1-1/+1
direct rm call to avoid beeing expanded by the shell based on the build systems files.
2011-03-09Since #433076 is fixed in live-initramfs, we only need to adjust owner of ↵Daniel Baumann1-1/+1
the live-user when using casper for etch builds.
2011-03-09Updating chroot hacks to reflect namechange of the udev persistent rules.Daniel Baumann1-2/+2
2011-03-09Disabling call to "update-initramfs" in lh_chroot_hacks.Chris Lamb1-3/+0
Users who are modifying initramfs scripts via chroot_local-includes should really run update-initramfs themselves - this wasn't possible until fairly recently due to re-ordering of calls from lh_chroot.
2011-03-09Using new Read_conffile(); now.Daniel Baumann1-7/+1
2011-03-09Adding 'all' configuration file.Daniel Baumann1-0/+1
2011-03-09lh_chroot_hacks: Ensure initrds are group- and world- readableChris Lamb1-0/+4
The loop-aes-utils sets a umask in its update-initramfs configuration, causing initrds to have "0600" permissions which causes boot failures when offering the files over netboot or similar. The justification given by loop-aes is that, as it supports encrypting against embedded GPG keyrings, the keys would be compromised if the files were group- or world- readable. However, as live-helper does not support this feature, it is safe to simply correct the permissions.
2011-03-09Updating copyright years to 2008.Daniel Baumann1-1/+1
2011-03-09Adding temporary hack to remove fstab when using live-installer.Daniel Baumann1-0/+7
2011-03-09Adding apt/aptitude options.Daniel Baumann1-9/+1
By using APT_OPTIONS and APTITUDE_OPTIONS in config/common, one can manipulate the default options wich is made to each and every apt and aptitude call.
2011-03-09Consistently using the pipe as seperator in sed commands now.Daniel Baumann1-1/+1
2011-03-09Also removing manpage cache in cleanup.Daniel Baumann1-0/+1
2011-03-09Fixing fstab handling.Daniel Baumann1-4/+0
2011-03-09Fixing typing error, thanks to An-Cheng Huang <ancheng@vyatta.com>.Daniel Baumann1-1/+1
2011-03-09Fixing some coding style issues.Daniel Baumann1-18/+20
2011-03-09add /etc/adjtime to list of writable files in exposed root modeJesse Hathaway1-1/+1
2011-03-09add force flag when removing /etc/mtab for exposedroot modeJesse Hathaway1-1/+1
cdebootstrap does not create /etc/mtab
2011-03-09add new option to mount cow device on nfs volumeJesse Hathaway1-0/+4
At the moment this only works with the root volume on nfs as well. If we add a switch to configure the network early in the boot process then this option could be made available for other root mediums. This option works reliably on the latest kernel 2.6.23.1 On earlier kernels I experienced frequent oopses.
2011-03-09add exposedroot option which exposes the root fs as roJesse Hathaway1-0/+39
This option allows you to expose the root read only. Using this option a person could upgrade the root filesystem or add packages without requiring the user to reboot. The root filesystem could be kept on an nfs volume or some other persistent medium. Multiple clients could then be booted off the same root fs. I used LTSP as a template to determine which directories to make rw.
2011-03-09Replacing backticks with POSIX expression.Daniel Baumann1-2/+2
2011-03-09Adding live-helper 1.0~a23-1.Daniel Baumann1-0/+1
2011-03-09Adding live-helper 1.0~a22-1.Daniel Baumann1-3/+9
2011-03-09Adding live-helper 1.0~a21-1.Daniel Baumann1-3/+0
2011-03-09Adding live-helper 1.0~a20-1.Daniel Baumann1-3/+0
2011-03-09Adding live-helper 1.0~a18-1.Daniel Baumann1-0/+22
2011-03-09Adding live-helper 1.0~a13-1.Daniel Baumann1-7/+7
2011-03-09Adding live-helper 1.0~a10-1.Daniel Baumann1-1/+1
2011-03-09Adding live-helper 1.0~a8-1.Daniel Baumann1-2/+3