Harald Hoyer
a16ebfd56a
dracut-functions: bashified ret=ret+$? to ret+=$?
14 years ago
Harald Hoyer
2aad23443e
dracut: source reformat with line breaks
14 years ago
Harald Hoyer
8a5354a9a5
dracut: simplify $kernel version argument setting
14 years ago
Amadeusz Żołnowski
dbf381f7fb
dracut: don't skip zero-length string outfile argument
...
When '' was passed as outfile, dracut generated name with following
pattern:
/boot/initramfs-$kernel
With commit 486a1b9324
dracut skips ''
argument.
14 years ago
Harald Hoyer
1080ce600a
Revert "dracut: don't skip zero-length string outfile argument"
...
This reverts commit 0dd37f13c5
.
14 years ago
Harald Hoyer
0dd37f13c5
dracut: don't skip zero-length string outfile argument
...
When '' was passed as outfile, dracut generated name with following
pattern:
/boot/initramfs-${kernel}.img
With commit 486a1b9324
dracut skips ''
argument.
14 years ago
Harald Hoyer
6981a0bfe7
NEWS: update
14 years ago
Harald Hoyer
e232c168d8
dracut.conf.d/fedora.conf.example: change stdloglvl to 3
14 years ago
Harald Hoyer
66259efc14
AUTHORS: update
14 years ago
Harald Hoyer
dc36969ae1
02caps: changed pre-pivot priority to 00
...
caps should be dropped before any actions with the mounted rootfs happen
14 years ago
Harald Hoyer
ec88eb91d6
10rpmversion/version.sh: version file moved to /lib/dracut
14 years ago
Harald Hoyer
9a54908fd7
NEWS: update
14 years ago
Harald Hoyer
5b2cc025f4
99base/init: fall back to manual cdrom polling
14 years ago
Harald Hoyer
1489c9b1af
40network: make dhclient mandatory again
14 years ago
Amadeusz Żołnowski
86d404513f
40network: install dhclient, brctl and ifenslave optionally
...
Warning given by check() function in case if any of those binaries
doesn't exist was removed, because it's produces by "dracut_install -o"
later.
14 years ago
Amadeusz Żołnowski
adcccd187d
dracut.conf.5.xml, dracut.8.xml: logging options and -M documented
14 years ago
Amadeusz Żołnowski
956af8f26e
dracut: new option: -M, --show-modules - lists modules on build
...
Module name is printed to standard output before its inclusion.
14 years ago
Amadeusz Żołnowski
d60b71e8e8
dracut-logger: /dev/log is socket, not character device
...
Fixed typo in error message by the way.
14 years ago
Amadeusz Żołnowski
d1ef3951f3
modules.d: logging functions adjusted to dracut-logger
14 years ago
Amadeusz Żołnowski
e27770e10c
dracut-functions: logging functions adjusted to dracut-logger
14 years ago
Amadeusz Żołnowski
0b70674329
dracut-functions: code formatting corrected
14 years ago
Amadeusz Żołnowski
b991617f19
dracut: when stdloglvl not set defaulted to 0 - should be 4
...
Removed unnecessary stdloglvl default in dracut.conf.
14 years ago
Amadeusz Żołnowski
9ebc51100b
dracut-logger: 'user' facility for build-time and 'daemon' for boot-time
14 years ago
Harald Hoyer
0874654c78
dracut-functions: try to find dracutbasedir, if not set
14 years ago
Harald Hoyer
d6d53f60b2
dracut-functions: use "type" to determine the need of sourcing dracut-logger
14 years ago
Harald Hoyer
e94f4cce47
loginit: log to /run/initramfs/init.log
14 years ago
Harald Hoyer
07fa164e16
loginit: use /run/initramfs/init.log.end as end marker
14 years ago
Harald Hoyer
9e7a3bf242
base/dracut-lib.sh: s/RDDEBUG/RD_DEBUG/g
...
RDDEBUG would be unset by the environment cleanup in init and logging
would be turned off afterwards.
14 years ago
Harald Hoyer
0b53ca70b6
Move all hooks to "$hookdir"
...
hookdir=/lib/dracut/hooks for now, to keep the root directory clean
14 years ago
Harald Hoyer
c9f1e3d1f4
check for getarg() function before sourcing dracut-lib.sh
...
make use of "type getarg" to check, if we really need to source
dracut-lib.sh
14 years ago
Harald Hoyer
c97e1a76f3
dracut-functions: install udev rules
...
Install the udev rules to /lib, if the original rule is found there.
14 years ago
Harald Hoyer
94f4923039
mkdir -m 0755
...
add the missing directory permissions to mkdir
14 years ago
Harald Hoyer
e86a6d390d
network: install brctl optionally
14 years ago
Harald Hoyer
4af5e99124
move dracut version file to /lib/dracut/dracut-$version
14 years ago
Harald Hoyer
7bfacf2f21
dracut: use readlink for drautbasedir if "-l"
14 years ago
Harald Hoyer
e43df9e342
base/init: fixed /dev/.initramfs creation, for no "/run"
14 years ago
Harald Hoyer
52eed26853
dracut: fixed directory handling, if image is created in "/"
14 years ago
Victor Lowther
4b3124ae85
Update PKGBUILD to force backups of /etc/dracut.conf on install.
14 years ago
Victor Lowther
3a71443953
Make compression do The Right Thing based on what is in the config files.
14 years ago
Victor Lowther
5e6c3b035d
Update and slightly refactor compression handling.
...
This adds a --compress= option along with xz support for 2.6.38 and above.
14 years ago
Michal Soltys
e5e5c8952d
dracut: fix arithemtic ${#VAR[@]} tests
...
This patch fixes a handful of ${#VAR[@]} tests, which can't be evaluated
as text expressions - the results is always true in such case, because
"0" is non-empty string.
Signed-off-by: Michal Soltys <soltys@ziu.info>
14 years ago
Harald Hoyer
19f3a804e7
s#/dev/.run#/run#g
...
Move things where they really belong to.
14 years ago
Harald Hoyer
519d339233
dracut-logger: don't debug log "return 0" of dlog()
14 years ago
Harald Hoyer
1e64e4939f
dracut-logger: turn off xtrace for log messages
...
Turn off xtrace for log messages and turn it back on, if $debug is set.
14 years ago
Harald Hoyer
da22a02130
Makefile: split syntax check from target "check" to "syncheck"
...
also add syntax check for the bash scripts
14 years ago
Amadeusz Żołnowski
432196aef8
dracut: script adjusted to new logging facility; -v changed
...
-v meaning has changed. Now it increases verbosity level. -q option has
been added, which decreases verbosity level. Both options might be
specified multiple times.
14 years ago
Amadeusz Żołnowski
46265a9d3e
dracut-logger: make $maxloglvl public
...
$maxloglvl might be useful to check, if expensive informational
operation is going to be logged at all, before executing it.
14 years ago
Amadeusz Żołnowski
1953052994
dracut: install ld.so.conf* with dracut_install instead of cp
14 years ago
Harald Hoyer
0afae1c7ce
base/init: for udev > 166 we will create and use /dev/.run/udev/rules.d
...
See:
http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=e68b4c2857942257268134cf7028b80f5a6a8103;hp=98ab6a377285d5943563cfa397e8b350e43878ec
14 years ago
Harald Hoyer
e7b1b342bf
dracut: add "--check=crc32" to xz compression
...
As mentioned in kernel/Documentation/xz.txt:
...
Notes on compression options
Since the XZ Embedded supports only streams with no integrity check
or CRC32, make sure that you don't use some other integrity check
type when encoding files that are supposed to be decoded by the
kernel. With liblzma, you need to use either LZMA_CHECK_NONE or
LZMA_CHECK_CRC32 when encoding. With the xz command line tool, use
--check=none or --check=crc32.
Using CRC32 is strongly recommended unless there is some other layer
which will verify the integrity of the uncompressed data anyway.
...
14 years ago