Harald Hoyer
00d89f5170
TEST-10-RAID/test-init: turn off debug for shutdown
14 years ago
Harald Hoyer
ceaf49d735
TEST-10-RAID: extend test case to shutdown
14 years ago
Harald Hoyer
8e448cadf9
90mdraid/md-shutdown.sh: put shutdown in function
14 years ago
Harald Hoyer
4456861f7e
90dm/dm-shutdown.sh: put shutdown in function
14 years ago
Harald Hoyer
2560da6be2
enable shutdown module by default
14 years ago
Harald Hoyer
34b22d6049
90dmsquash-live: optionally install eject
14 years ago
Harald Hoyer
e45ffb5d1f
dracut-logger: create logfile with 0600 permissions
14 years ago
Harald Hoyer
8a29368bf1
dracut.logrotate: remove "yearly"
...
logrotate would only rotate yearly with it
14 years ago
Harald Hoyer
54703a719f
add TEST-15-BTRFSRAID
14 years ago
Harald Hoyer
8e702c3d0f
dracut.spec: remove noreplace for 01-dist.conf
14 years ago
Harald Hoyer
7893469fca
Makefile: inc version
14 years ago
Harald Hoyer
4765889b2e
TODO, NEWS: update
14 years ago
Harald Hoyer
b038e0aac9
Makefile: copy created rpms from rpmbuild in "rpm" target
14 years ago
Harald Hoyer
d8bf119dd2
dracut.spec: fixed logrotate
14 years ago
Amadeusz Żołnowski
d083dd4c39
90kernel-modules: fixed handling rd.driver.post=
14 years ago
Amadeusz Żołnowski
b52294d00b
crypt: dropped plymouth --has-active-vt check on passwd prompt
...
As Ray Strode explains, plymouth --has-active-vt may fail if the user
passes console=ttyS0 or something other not corresponding to
console=tty0, because plymouth is outputing to the serial console and
not a VT in this case.
14 years ago
Harald Hoyer
802e7e1c2e
dmsquash-live: install eject with dracut_install
...
the new search path does the right thing
14 years ago
Harald Hoyer
be1762caff
selinux/selinux-loadpolicy.sh: set LANG=C for load_policy and restorecon
...
set LANG=C for chroot execed tools, because the terminal might not be
able to display the messages and the rest is not translated anyway.
14 years ago
Harald Hoyer
6a2a1ea75f
base/init: do not mount devtmpfs with "noexec"
...
https://bugzilla.redhat.com/show_bug.cgi?id=710711
mmap /dev/zero: Operation not permitted
14 years ago
Harald Hoyer
565f6fb675
crypt/crypt-lib.sh: s/.console.lock/.console_lock/g
...
In the initrd, the init script and the sbin/cryptroot-ask script use
flock with different lock files for the console: /.console_lock and
/.console.lock respectively
14 years ago
Harald Hoyer
f2c6909468
base/init: mount virtual filesystems with the filesystem type as source
14 years ago
Harald Hoyer
0e6a94b329
Makefile: simplify "make rpm"
14 years ago
Harald Hoyer
cae57c60a1
shut
14 years ago
Harald Hoyer
657d68cfff
mdraid: add shutdown script
14 years ago
Harald Hoyer
20636ce09f
dm: add shutdown script
14 years ago
Harald Hoyer
168fa7e571
base: add shutdown script to be called from systemd
14 years ago
Harald Hoyer
55468fb9b3
dracut: use pigz, if available and no compress defined
14 years ago
Harald Hoyer
7ed1de2f1d
mount-root.sh: fixed fsck and "-a" only for "ext*"
14 years ago
Harald Hoyer
c30c65c1b2
dracut-functions: do not redirect modprobe error output to /dev/null
...
filter modprobe error messages and log them. Very useful if modules.dep
is missing.
14 years ago
Harald Hoyer
2627d8a345
dracut-functions: make created directories writable
14 years ago
Harald Hoyer
5fe5c7d0b1
dracut: add --keep option, to inspect the initramfs directory
14 years ago
Michal Soltys
0d8c1d7fa1
95rootfs-block/block-genrules.sh: Use > instead of >>
...
trivial, blocksymlink.sh shouldn't exist at this point.
Signed-off-by: Michal Soltys <soltys@ziu.info>
14 years ago
Michal Soltys
0216d1cda3
95rootfs-block/mount-root.sh: Rely on det_fs and wrap_fsck
...
Use common fsck and det_fs code. Verify filesystem type more
aggressively, which has a chance to be more resistant to
accidental mistakes.
Also, there's no need to generate custom fstab for the sake of fsck
anymore.
Signed-off-by: Michal Soltys <soltys@ziu.info>
14 years ago
Michal Soltys
8b2896f9fa
95fstab-sys: use det_fs and wrap_fsck
...
This patch mainly adds fsck functionality to fstab-sys, with additional
sanity checks (checking for device existence, verifying fstype via
det_fs).
Signed-off-by: Michal Soltys <soltys@ziu.info>
14 years ago
Michal Soltys
e2c5015713
dracut-lib.sh: Add det_fs() and wrap_fsck()
...
Both functions will be used by rootfs-block and fstab-sys modules.
Both are based on code present in mount-root.sh, though few changes are
present.
det_fs:
will try to determine filesystem type for supplied device, even if it's
not auto. If fs cannot be detected, or if the detected one differs from
the supplied one - a warning is issued (so user can fix its stuff later)
wrap_fsck:
will call fsck for specific device with optionally additional
fsckoptions. The function returns fsck return value.
Signed-off-by: Michal Soltys <soltys@ziu.info>
14 years ago
Michal Soltys
e639630da4
dracut-lib.sh: add vwarn() function
...
Similary to vinfo()
Signed-off-by: Michal Soltys <soltys@ziu.info>
14 years ago
Harald Hoyer
ce4359ea85
dracut.spec: build require dash and bash
14 years ago
Harald Hoyer
9b30d4793d
base/init: do not lazy umount /run
14 years ago
Harald Hoyer
dd483f4f42
base/init: mkdir non-existant dirs
14 years ago
Harald Hoyer
543f39cb52
base/init: save timestamp earlier and remove /sys mount duplicate
14 years ago
Harald Hoyer
4826b9b0d5
base/init: mkdir $NEWROOT, if it does not exist
14 years ago
Harald Hoyer
683db19a7d
base/module-setup.sh: only mkdir /lib, if it does not exist
14 years ago
Harald Hoyer
1021371daf
i18n: disable systemd-vconsole-setup, until the tool is fixed
14 years ago
Harald Hoyer
6a0b3ccf4e
busybox: install busybox to /usr/bin
14 years ago
Harald Hoyer
b938443e2f
lsinitrd: handle new output of "file" for XZ compressed images
14 years ago
Harald Hoyer
7db18ccd13
dracut-functions: change search path for find_binary
14 years ago
Harald Hoyer
c3b0d83ddf
dracut-functions: handle symlinked directories
14 years ago
Harald Hoyer
785a6cd21c
dracut: handle toplevel symlinks
14 years ago
Harald Hoyer
6f22336784
dracut: s/bzip/bzip2
14 years ago
Harald Hoyer
3da7836035
dracut: fix overlayfs paths
14 years ago