Harald Hoyer
3a00cf9ecc
AUTHORS: update
2012-03-14 11:50:07 +01:00
Harald Hoyer
803be5aa50
README: added github and sourceforge git links
2012-03-14 11:48:48 +01:00
Will Woods
52c4c9484d
Add 'live.updates' to livenet module
...
live.updates allows you to specify the URL for an "updates image" that
should be applied to the live runtime before switch_root.
The URL can be anything supported by url-lib (http, https, ftp, possibly
nfs) and the image can be anything supported by img-lib (xz/gzip
compressed cpio/tar, uncompressed cpio/tar, filesystem image, etc.)
2012-03-09 11:13:08 +01:00
Will Woods
7e60091c6b
url-lib: clean up output
...
For curl_fetch_url (http/https/ftp):
- use --progress-bar (the output is less messy)
- print the URL we're fetching so the user know's what's happening
For curl and nfs:
- don't echo the filename if it was provided by the user
2012-03-09 11:13:08 +01:00
Will Woods
04febed782
img-lib: fix unpack_img()
...
- det_img should have been det_archive
- for ft=xz|gzip|bzip2, decompr should be "$ft -dc"
2012-03-09 11:13:08 +01:00
Dan Horák
2ff3fc73c8
install ctcm network module on s390
...
The ctcm module is not loaded automagically because it doesn't pass the
"ether_type_trans" test in 40net/module-setup.sh, so load it explicitly.
2012-03-08 14:38:53 +01:00
Harald Hoyer
d33d60774f
dracut.spec: add 98pollcdrom
2012-03-08 13:40:21 +01:00
Harald Hoyer
f8208d682f
95iscsi/iscsiroot.sh: fix for empty $root
2012-03-08 12:26:00 +01:00
Harald Hoyer
0635530dda
TEST-20-NFS/test.sh: fsck with "-a"
2012-03-08 12:25:30 +01:00
Will Woods
6e3cc00f48
add initqueue --env and "online" hook
...
The "online" hook runs whenever a network interface comes online (that
is, once it's actually up and configured).
The initqueue --env argument is used to set "$netif" to the name of the
newly-online network interface.
2012-03-08 11:05:29 +01:00
Will Woods
25aa3c5a6e
network: refactor stuff from netroot/parse-ip-opts to net-lib
...
Add new functions: all_ifaces_up, get_netroot_ip, ip_is_local, ifdown,
setup_net, set_ifname, ibft_to_cmdline
Use them in netroot.sh and parse-ip-opts.sh.
There's also a couple little unrelated cleanups.
2012-03-08 11:01:40 +01:00
Harald Hoyer
4d518aec86
move wait_for_loginit() to dracut-lib.sh
2012-03-08 11:00:29 +01:00
Harald Hoyer
74db72dd0b
98pollcdrom: factored out the ugly cdrom polling in the main loop
2012-03-08 11:00:29 +01:00
Harald Hoyer
4fed3ddf16
add "initqueue/*" to hookdirs and create them in dracut itsself
...
now we can just use
inst_hook initqueue/settled 99 "$moddir/pollcdrom.sh"
2012-03-08 11:00:29 +01:00
Harald Hoyer
b8a9dc2d3f
TEST-20-NFS: use ext3 on server and fsck after kill
2012-03-08 11:00:29 +01:00
Harald Hoyer
2c0317213e
get rid of /tmp/root.info
2012-03-08 11:00:29 +01:00
Harald Hoyer
5861184e87
ifup.sh: check for "-m" to set manualup
2012-03-08 11:00:29 +01:00
Harald Hoyer
6a2c23d125
dracut-functions.sh: check for .kernelmodseen dir, before using it
2012-03-08 11:00:29 +01:00
Harald Hoyer
af8c8ed9f6
40network/net-genrules.sh: move ifup in the initqueue
2012-03-08 11:00:29 +01:00
Will Woods
b43d651511
fix apply-live-updates failing because of /lib symlink
...
Since cp won't copy a directory over a symlink, any updates that were
supposed to go into e.g. /lib would get dropped if you had /updates/lib
as an actual directory, but the target system had /lib->/usr/lib.
2012-03-08 10:58:42 +01:00
Will Woods
66666c670a
write-ifcfg.sh: add UUID=.. and save the lease files with the same uuid
...
As described in https://bugzilla.redhat.com/show_bug.cgi?id=541410#c2 ,
if you want NetworkManager to take over an interface that you're using
for NFS root (or other network root device), you need to:
a) set UUID=<uuid> in ifcfg-<iface>, and
b) save the lease file as /var/lib/dhclient-<uuid>-<iface>.lease
This patch should make write-ifcfg handle both these things.
2012-03-08 10:58:42 +01:00
Will Woods
d37ad6aea0
write-ifcfg.sh: cleanups
...
mkdir -p creates intermediate directories and never returns an error, so
we don't need to create the intermediate directories ourself.
2012-03-08 10:58:42 +01:00
Harald Hoyer
a3f00efc99
40network/kill-dhclient.sh: kill dhclient silently
2012-03-08 10:58:16 +01:00
Will Woods
8a0d2fc56f
url-lib: make nfs support optional
...
Only include /lib/nfs-lib.sh if it exists, and then only run
add_url_handler if nfs-lib was imported.
2012-03-02 11:11:56 +01:00
Will Woods
ffcc64bdea
move emergency_shell to dracut-lib.sh
...
This lets things running outside init call an emergency_shell.
(example: scripts called by initqueue)
2012-03-02 11:11:56 +01:00
Jan Stodola
778f767bcc
Fix correct nfs path
2012-03-02 11:10:59 +01:00
Harald Hoyer
e12c1a8da1
dracut-functions.sh:install_kmod_with_fw() delay .kernelmodseen
...
first check for omit, then mark the kernel module as seen
when we temporarily omit_drivers, we don't want to mark them as seen.
example: nfs.ko module in kernel-modules, but the nfs module
should be able to load it later on.
2012-03-01 17:45:30 +01:00
Harald Hoyer
8d021e4b8a
90crypt/parse-crypt.sh: simplify rd.luks.uuid testing
2012-02-29 16:20:02 +01:00
Harald Hoyer
95268ffed3
30convertfs/convertfs.sh: correct check for /usr/bin
2012-02-29 13:30:30 +01:00
Harald Hoyer
9eded206c9
98usrmount/mount-usr.sh: check, if we have $NEWROOT/etc/fstab
2012-02-28 16:35:08 +01:00
Harald Hoyer
b642ce5340
98usrmount/mount-usr.sh: ignore comments in fstab
2012-02-28 12:54:01 +01:00
Harald Hoyer
34769a1445
TODO: update
2012-02-28 12:19:39 +01:00
Harald Hoyer
b7ddf6c1d8
make bzip2 optional
2012-02-25 17:22:02 +01:00
Harald Hoyer
cf38fc7389
10i18n/module-setup.sh: optimize install of all kbd files
2012-02-25 17:18:51 +01:00
Harald Hoyer
ddd01008ff
95terminfo/module-setup.sh: no need to call "find"
2012-02-25 17:09:15 +01:00
Harald Hoyer
7a5f1ee46a
dracut.spec: require "hardlink"
2012-02-25 17:09:15 +01:00
Harald Hoyer
379c34d2cf
dracut.sh/dracut-functions.sh: use a marker-dir for kernel modules
...
use "$initdir/.kernelmodseen" to mark kernel modules, which we already
handled with install_kmod_with_fw()
2012-02-25 17:09:15 +01:00
Harald Hoyer
334cc28327
dracut-functions.sh: instmods() print only filename instead of fullpath
...
do not print the full path, when we use "find" for kernel modules, but
rather only the filename.
2012-02-25 17:09:14 +01:00
Harald Hoyer
edea870c3c
dracut-functions.sh: instmods() removed special case for "=ata"
2012-02-25 17:09:14 +01:00
Harald Hoyer
86191581d1
dracut-functions.sh: instmods(): replace egrep with shell code
2012-02-25 17:09:14 +01:00
Harald Hoyer
07f3e4f168
dracut-functions.sh: get_fs_env() replaced egrep with shell
2012-02-25 17:09:14 +01:00
Harald Hoyer
b6f0dcbda1
30convertfs/convertfs.sh: use hardlinks for inter-/usr cp
2012-02-25 16:06:38 +01:00
Harald Hoyer
5e5f3d5e6c
95nfs/module-setup.sh: removed "egrep" and "ls" calls
2012-02-25 16:06:16 +01:00
Harald Hoyer
25b36ef124
99fs-lib/module-setup.sh: removed "touch"
2012-02-25 16:05:51 +01:00
Harald Hoyer
f5a9e45923
Version 017
2012-02-24 15:38:08 +01:00
Harald Hoyer
1701d7adc8
30convertfs/convertfs.sh: add check for /usr/bin
...
Check if /usr is mounted, by checking for /usr/bin
2012-02-24 14:59:18 +01:00
Harald Hoyer
d18bc9070d
dracut-functions.sh: optimize ldd
2012-02-24 14:59:18 +01:00
Harald Hoyer
86bf239ede
dracut-functions.sh: only call ldd in find_binary() for "*.so*"
2012-02-24 14:59:18 +01:00
Harald Hoyer
d433da4473
dracut.sh: first install /usr dirs, then toplevel
...
This saves some checks in inst_dir.
2012-02-24 14:58:21 +01:00
Harald Hoyer
3249c257a0
dracut-functions.sh: optimized
...
get rid off lots of duplicated checks and code
2012-02-24 14:56:40 +01:00