Daniel Baumann
701b5affd4
For consistency, using true|false instead of enabled|disabled in configuration options.
2011-03-09 19:17:03 +01:00
Daniel Baumann
352d962ee8
Removing lpia support, this architecture is dead.
2011-03-09 19:17:03 +01:00
Daniel Baumann
5841e79b1f
Dropping etch support.
2011-03-09 19:17:02 +01:00
Daniel Baumann
5e4952e8a7
Adding debian version 2.0~a1-1.
2011-03-09 19:16:26 +01:00
Daniel Baumann
2e2de4361d
Merging initial and experimental grub2 support from Luigi Capriotti <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-09 19:09:48 +01:00
Daniel Baumann
95b1731883
Emitting a warning if resolvconf is detected on the to be generated live system. Beware of resolvconf, it's broken beyond repair.
2011-03-09 19:09:45 +01:00
Daniel Baumann
d182778609
Always rebuilding initrd in chroot_hacks to avoid inclusion of previously removed udev rules (such as persistent devices).
2011-03-09 19:09:44 +01:00
Daniel Baumann
173fa3bbbf
Not removing man/index.db in lh_chroot_hacks to keep man -k aka apropos working, thanks to Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr> ( Closes : #527311 ).
2011-03-09 19:09:44 +01:00
Daniel Baumann
60d87f4f91
Correcting chroot call for update-initramfs in lh_chroot_hacks.
2011-03-09 19:09:44 +01:00
Daniel Baumann
deaa1214dc
Adding update-initramfs call back in lh_chroot_hacks, but only for netboot.
2011-03-09 19:09:44 +01:00
Cody A.W. Somerville
4afc571314
Adding lpia support.
2011-03-09 19:09:44 +01:00
Daniel Baumann
989f26d87b
Updating year in copyright notices for 2009.
2011-03-09 19:09:40 +01:00
Daniel Baumann
9ce762a502
Using common function file to source shell includes.
2011-03-09 19:09:40 +01:00
Daniel Baumann
951c24dc08
Adding temporary workaround to 'failed to install grub' error when using live-installer.
2011-03-09 19:09:40 +01:00
Cyril Brulebois
6193ef2285
Actually fix initrd-related breakage in chroot hacks.
...
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-09 19:09:40 +01:00
Cyril Brulebois
4652d65411
Make hacks not break if there are no initrds.
...
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-09 19:09:40 +01:00
Antonio Terceiro
8a477ac3a9
Translating the description of the helpers
2011-03-09 19:09:39 +01:00
Daniel Baumann
5e7f545474
Even though users are supposed to have any local-includes with the correct owner and permissions, we set them manually on /home/user as it's likely that anybody will forget it ( Closes : #506553 ).
2011-03-09 19:03:45 +01:00
Daniel Baumann
6696b019fe
Renaming internal Read_conffile(); to Read_conffiles(); for consistency reasons.
2011-03-09 19:03:43 +01:00
Daniel Baumann
6204dc0e6d
Enforcing lh_config to be run before lh_build, see also http://lists.debian.org/debian-live/2008/10/msg00102.html ( Closes : #500740 ).
2011-03-09 19:03:42 +01:00
Chris Lamb
d9810a3644
Ensure all files installed via chroot_local-includes are owned by root:root. 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-09 19:03:42 +01:00
Daniel Baumann
2722cbb709
Making sure /etc/sudoers has right owner/permissions.
2011-03-09 19:03:42 +01:00
Daniel Baumann
61ffd3e944
Manually setting owner of /etc/skel to root.
2011-03-09 19:03:42 +01:00
Daniel Baumann
492c2876ac
Replacing Chroot(); call for removing the udev persistent-net rules with a direct rm call to avoid beeing expanded by the shell based on the build systems files.
2011-03-09 19:03:40 +01:00
Daniel Baumann
5fe8b202c3
Since #433076 is fixed in live-initramfs, we only need to adjust owner of the live-user when using casper for etch builds.
2011-03-09 19:03:40 +01:00
Daniel Baumann
8888135805
Updating chroot hacks to reflect namechange of the udev persistent rules.
2011-03-09 19:03:39 +01:00
Chris Lamb
28121b6662
Disabling call to "update-initramfs" in lh_chroot_hacks.
...
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-09 19:03:38 +01:00
Daniel Baumann
26fc30d8eb
Using new Read_conffile(); now.
2011-03-09 19:03:31 +01:00
Daniel Baumann
c6b83b1fd3
Adding 'all' configuration file.
2011-03-09 19:03:31 +01:00
Chris Lamb
120528e1a2
lh_chroot_hacks: Ensure initrds are group- and world- readable
...
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-09 19:03:30 +01:00
Daniel Baumann
c5a91189a0
Updating copyright years to 2008.
2011-03-09 19:01:41 +01:00
Daniel Baumann
f23072923e
Adding temporary hack to remove fstab when using live-installer.
2011-03-09 18:36:19 +01:00
Daniel Baumann
09f88a6e38
Adding apt/aptitude options.
...
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-09 18:36:05 +01:00
Daniel Baumann
342d2870eb
Consistently using the pipe as seperator in sed commands now.
2011-03-09 18:35:39 +01:00
Daniel Baumann
de1698708d
Also removing manpage cache in cleanup.
2011-03-09 18:22:29 +01:00
Daniel Baumann
b5dc203126
Fixing fstab handling.
2011-03-09 18:22:29 +01:00
Daniel Baumann
66e6a4c14a
Fixing typing error, thanks to An-Cheng Huang <ancheng@vyatta.com>.
2011-03-09 18:22:29 +01:00
Daniel Baumann
532f4e281f
Fixing some coding style issues.
2011-03-09 18:22:28 +01:00
Jesse Hathaway
afe1aa871e
add /etc/adjtime to list of writable files in exposed root mode
2011-03-09 18:22:28 +01:00
Jesse Hathaway
d896f1dd21
add force flag when removing /etc/mtab for exposedroot mode
...
cdebootstrap does not create /etc/mtab
2011-03-09 18:22:28 +01:00
Jesse Hathaway
64333346c2
add new option to mount cow device on nfs volume
...
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-09 18:22:28 +01:00
Jesse Hathaway
a7491e1349
add exposedroot option which exposes the root fs as ro
...
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-09 18:22:28 +01:00
Daniel Baumann
f2734daf0a
Replacing backticks with POSIX expression.
2011-03-09 18:22:27 +01:00
Daniel Baumann
28dac4f438
Adding live-helper 1.0~a23-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
0d0de885e3
Adding live-helper 1.0~a22-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
c68c0a2708
Adding live-helper 1.0~a21-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
f314791fa2
Adding live-helper 1.0~a20-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
0d5ff4ca75
Adding live-helper 1.0~a18-1.
2011-03-09 18:22:26 +01:00
Daniel Baumann
85c342c299
Adding live-helper 1.0~a13-1.
2011-03-09 18:18:30 +01:00
Daniel Baumann
97c3a13dcc
Adding live-helper 1.0~a10-1.
2011-03-09 18:18:29 +01:00