platform/upstream/dracut.git
12 years agogentoo.conf: enable ro_mnt
Amadeusz Żołnowski [Thu, 26 Jul 2012 17:04:30 +0000 (19:04 +0200)]
gentoo.conf: enable ro_mnt

12 years agoplymouth: do not start plymouth via dracut for systemd in the initramfs
Harald Hoyer [Thu, 26 Jul 2012 16:59:36 +0000 (18:59 +0200)]
plymouth: do not start plymouth via dracut for systemd in the initramfs

12 years agoAdded cifs
Mike Gorse [Thu, 26 Jul 2012 14:17:18 +0000 (09:17 -0500)]
Added cifs

12 years agonfs/module-setup.sh: check for "rpc.rpc" before running chown
Harald Hoyer [Thu, 26 Jul 2012 16:12:05 +0000 (18:12 +0200)]
nfs/module-setup.sh: check for "rpc.rpc" before running chown

12 years agoparse-root-opts: first check for ro, later for rw
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:58:27 +0000 (15:58 +0200)]
parse-root-opts: first check for ro, later for rw

This order is already in 98usrmount.

12 years agobase/module-setup.sh: removed mount-hook
Harald Hoyer [Thu, 26 Jul 2012 15:35:25 +0000 (17:35 +0200)]
base/module-setup.sh: removed mount-hook

12 years agoREADME.testsuite updated with requirements for TEST-04-SYSTEMD
Harald Hoyer [Thu, 26 Jul 2012 15:26:31 +0000 (17:26 +0200)]
README.testsuite updated with requirements for TEST-04-SYSTEMD

12 years agomv rootfs-block/module-setup.sh:search_option() in dracut-functions.sh
Harald Hoyer [Thu, 26 Jul 2012 15:22:14 +0000 (17:22 +0200)]
mv rootfs-block/module-setup.sh:search_option() in dracut-functions.sh

new function fs_get_option()

12 years agoro_mnt - option at build time to force ro mount of / and /usr
Amadeusz Żołnowski [Thu, 26 Jul 2012 14:44:09 +0000 (16:44 +0200)]
ro_mnt - option at build time to force ro mount of / and /usr

12 years agodracut-functions.sh: corrected usage comment of find_mp_fstype()
Harald Hoyer [Thu, 26 Jul 2012 15:05:24 +0000 (17:05 +0200)]
dracut-functions.sh: corrected usage comment of find_mp_fstype()

12 years agorootfs-block/module-setup.sh: add support for xfs / reiserfs separate journal device
Harald Hoyer [Thu, 26 Jul 2012 15:00:47 +0000 (17:00 +0200)]
rootfs-block/module-setup.sh: add support for xfs / reiserfs separate journal device

xfs and reiserfs (among other) supports storing journal data to a
separate device. Unfortunately, XFS requires this information to boot
properly (reiserfs can embed the information in its metadata but you
might want to override it).

Frederic Crozat <fcrozat@suse.com>

12 years agodracut-functions.sh: add find_mp_fstype()
Harald Hoyer [Thu, 26 Jul 2012 15:00:07 +0000 (17:00 +0200)]
dracut-functions.sh: add find_mp_fstype()

12 years agoPATCH: add support for xfs / reiserfs separate journal device
Frederic Crozat [Thu, 26 Jul 2012 13:16:22 +0000 (15:16 +0200)]
PATCH: add support for xfs / reiserfs separate journal device

xfs and reiserfs (among other) supports storing journal data to a
separate device. Unfortunately, XFS requires this information to boot
properly (reiserfs can embed the information in its metadata but you
might want to override it).

Attached patch ensure host information are stored in initramfs and also
allows to give data over kernel commandline.

--
Frederic Crozat <fcrozat@suse.com>
SUSE

>From a7c592b9bb7de0d7874ae51d02944a7eee2ec75b Mon Sep 17 00:00:00 2001
From: Frederic Crozat <fcrozat@suse.com>
Date: Tue, 24 Jul 2012 18:52:17 +0200
Subject: [PATCH] Add support for separate journal on reiserfs and xfs

12 years agomodules.d/99base/mount-hook.sh is not used - removed
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:27 +0000 (15:05 +0200)]
modules.d/99base/mount-hook.sh is not used - removed

12 years agoapply "ro" and "rw" options from cmdline to / mount
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:26 +0000 (15:05 +0200)]
apply "ro" and "rw" options from cmdline to / mount

rflags is no longer guaranteed to be non empty.  / is mounted according
to rootflags parameter but forced ro at first.  Later it is remounted
according to /etc/fstab + rootflags parameter and "ro"/"rw".  If
parameters are still the same as for first mount, / isn't remounted.

Conflicts:

    modules.d/95rootfs-block/mount-root.sh
    modules.d/99base/parse-root-opts.sh

12 years agodracut-lib: new functions: listlist and are_lists_eq
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:25 +0000 (15:05 +0200)]
dracut-lib: new functions: listlist and are_lists_eq

listlist is like strstr for lists with specified separator and
are_lists_eq uses listlist to check equality of specified lists.

12 years ago98usrmount: [ "x$_usr_found" != "x" ] - removed redundant 'x'
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:24 +0000 (15:05 +0200)]
98usrmount: [ "x$_usr_found" != "x" ] - removed redundant 'x'

12 years ago98usrmount: print mount options
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:23 +0000 (15:05 +0200)]
98usrmount: print mount options

12 years ago98usrmount: use rw and ro options instead of rd.usrmount.ro
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:22 +0000 (15:05 +0200)]
98usrmount: use rw and ro options instead of rd.usrmount.ro

In result /usr is forced to be mounted ro or rw along with /.

12 years ago95rootfs-block: fix left fsck rel. checks
Amadeusz Żołnowski [Thu, 26 Jul 2012 13:05:21 +0000 (15:05 +0200)]
95rootfs-block: fix left fsck rel. checks

12 years agosystemd/dracut-cmdline.sh: output dracut version
Harald Hoyer [Thu, 26 Jul 2012 12:23:31 +0000 (14:23 +0200)]
systemd/dracut-cmdline.sh: output dracut version

12 years agoMakefile: use symlink for topsrcdir/dracut-install
Harald Hoyer [Thu, 26 Jul 2012 10:27:29 +0000 (12:27 +0200)]
Makefile: use symlink for topsrcdir/dracut-install

12 years agomultipath/module-setup.sh: add dm dependency
Harald Hoyer [Thu, 26 Jul 2012 10:43:20 +0000 (12:43 +0200)]
multipath/module-setup.sh: add dm dependency

12 years agoMakefile: fixed dracut-install make target
Harald Hoyer [Thu, 26 Jul 2012 09:50:50 +0000 (11:50 +0200)]
Makefile: fixed dracut-install make target

12 years ago90multipath: added kpartx.rules; multipath.rules - different prefix
Amadeusz Żołnowski [Thu, 26 Jul 2012 09:38:04 +0000 (11:38 +0200)]
90multipath: added kpartx.rules; multipath.rules - different prefix

12 years ago90kernel-modules: remove unused variables in install()
Cong Wang [Thu, 26 Jul 2012 07:39:13 +0000 (15:39 +0800)]
90kernel-modules: remove unused variables in install()

The local variables in install() are unused, can be removed.

Cc: Harald Hoyer <harald@redhat.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
12 years agogentoo.conf: set udevdir
Amadeusz Żołnowski [Thu, 26 Jul 2012 07:35:58 +0000 (09:35 +0200)]
gentoo.conf: set udevdir

12 years agoConfig file for systemd on Gentoo.
Amadeusz Żołnowski [Thu, 26 Jul 2012 07:35:57 +0000 (09:35 +0200)]
Config file for systemd on Gentoo.

12 years agoRemove obsolete gentoo conf file.
Amadeusz Żołnowski [Thu, 26 Jul 2012 07:35:56 +0000 (09:35 +0200)]
Remove obsolete gentoo conf file.

12 years agodmsquash-live: do not eject medium for live_ram
Harald Hoyer [Thu, 26 Jul 2012 07:25:28 +0000 (09:25 +0200)]
dmsquash-live: do not eject medium for live_ram

12 years ago90multipath: check() - Regexp fix to match multipath partition.
Chao Wang [Thu, 26 Jul 2012 03:24:26 +0000 (11:24 +0800)]
90multipath: check() - Regexp fix to match multipath partition.

A multipath partition's uuid will be presented like:
 # cat /sys/dev/block/$_dev/dm/uuid
 part1-mpath-360060e801047103004f2c4b300000008

So in this case, change the match regexp from '^mpath-' to 'mpath-'.

Signed-off-by: Chao Wang <chaowang@redhat.com>
12 years ago95fstab-sys: Skip mounted filesystem.
Chao Wang [Thu, 26 Jul 2012 03:24:25 +0000 (11:24 +0800)]
95fstab-sys: Skip mounted filesystem.

Signed-off-by: Chao Wang <chaowang@redhat.com>
12 years agoMakefile: use implicit rules for install/dracut-install
Amadeusz Żołnowski [Wed, 25 Jul 2012 20:08:23 +0000 (22:08 +0200)]
Makefile: use implicit rules for install/dracut-install

Don't fail on install rule if install/dracut-install is not build - just
skip it.  $(strip) is not used by install rule, because it is nowhere
set.

12 years agoRemove object file from repo: install/hashmap.o
Amadeusz Żołnowski [Wed, 25 Jul 2012 20:08:22 +0000 (22:08 +0200)]
Remove object file from repo: install/hashmap.o

12 years agoqemu*/module-setup.sh: provide alternative for systemd-detect-virt
Harald Hoyer [Wed, 25 Jul 2012 14:03:49 +0000 (16:03 +0200)]
qemu*/module-setup.sh: provide alternative for systemd-detect-virt

12 years agoTODO: update
Harald Hoyer [Wed, 25 Jul 2012 13:20:37 +0000 (15:20 +0200)]
TODO: update

12 years agoMakefile: honor CFLAGS
Harald Hoyer [Wed, 25 Jul 2012 13:20:22 +0000 (15:20 +0200)]
Makefile: honor CFLAGS

12 years agonetwork/module-setup.sh: instmods af_packet
Harald Hoyer [Wed, 25 Jul 2012 12:56:08 +0000 (14:56 +0200)]
network/module-setup.sh: instmods af_packet

12 years agodracut.asc: add doc about journalctl
Harald Hoyer [Wed, 25 Jul 2012 12:53:23 +0000 (14:53 +0200)]
dracut.asc: add doc about journalctl

12 years agoiscsiroot.sh: do not source /etc/conf.d
Harald Hoyer [Wed, 25 Jul 2012 12:52:25 +0000 (14:52 +0200)]
iscsiroot.sh: do not source /etc/conf.d

this should have been done already.

12 years agorequire kpartx and partx for some modules
Harald Hoyer [Wed, 25 Jul 2012 11:00:08 +0000 (13:00 +0200)]
require kpartx and partx for some modules

12 years agodeprecate old command line options
Harald Hoyer [Wed, 25 Jul 2012 08:32:42 +0000 (10:32 +0200)]
deprecate old command line options

12 years ago91crypt-loop: replace basename calls with string matching
Leho Kraav [Tue, 24 Jul 2012 12:08:55 +0000 (15:08 +0300)]
91crypt-loop: replace basename calls with string matching

12 years ago91crypt-loop: use initqueue for cleanup strategy
Leho Kraav [Tue, 24 Jul 2012 12:08:54 +0000 (15:08 +0300)]
91crypt-loop: use initqueue for cleanup strategy

12 years ago91crypt-loop: open root device with a key inside encrypted loop container
Leho Kraav [Tue, 24 Jul 2012 12:08:53 +0000 (15:08 +0300)]
91crypt-loop: open root device with a key inside encrypted loop container

12 years ago90crypt: enhance crypt-lib keydev mounting
Leho Kraav [Tue, 24 Jul 2012 12:08:52 +0000 (15:08 +0300)]
90crypt: enhance crypt-lib keydev mounting

Combining $keydev and $keypath should result in a unique, re-usable keydev
mountpoint. mkuniqdir doesn't seem to have any an advantage here and lacks
reusability. Is there ever a use case where these are true:

 * there are more than one rd.luks.key=$keypath:$keydev
 * one is actually different from the other

12 years ago90crypt: recognize .img as loop key container
Leho Kraav [Tue, 24 Jul 2012 12:08:51 +0000 (15:08 +0300)]
90crypt: recognize .img as loop key container

12 years agoget rid of "basename"
Harald Hoyer [Tue, 24 Jul 2012 12:12:36 +0000 (14:12 +0200)]
get rid of "basename"

12 years agodracut-functions.sh: small error print correction
Harald Hoyer [Tue, 24 Jul 2012 12:08:32 +0000 (14:08 +0200)]
dracut-functions.sh: small error print correction

12 years agoi18n/10-console.rules: move console_init to the initqueue
Harald Hoyer [Tue, 24 Jul 2012 09:52:28 +0000 (11:52 +0200)]
i18n/10-console.rules: move console_init to the initqueue

12 years agokernel-modules/module-setup.sh: just optionally install all modprobe.d
Harald Hoyer [Mon, 23 Jul 2012 13:40:20 +0000 (15:40 +0200)]
kernel-modules/module-setup.sh: just optionally install all modprobe.d

12 years agolvm/lvm_scan.sh: udevadm settle after lvm scan
Harald Hoyer [Mon, 23 Jul 2012 13:36:58 +0000 (15:36 +0200)]
lvm/lvm_scan.sh: udevadm settle after lvm scan

12 years agokernel-modules/module-setup.sh: fix modprobe.d install
Harald Hoyer [Mon, 23 Jul 2012 09:38:36 +0000 (11:38 +0200)]
kernel-modules/module-setup.sh: fix modprobe.d install

if /lib/modprobe.d does not exist, it errors with:
find: `/lib/modprobe.d/': No such file or directory

12 years agoadd documentation for systemd services in the initramfs
Harald Hoyer [Mon, 23 Jul 2012 09:10:13 +0000 (11:10 +0200)]
add documentation for systemd services in the initramfs

12 years agodracut.sh: add -N option for --no-hostonly
Harald Hoyer [Sat, 21 Jul 2012 11:03:56 +0000 (13:03 +0200)]
dracut.sh: add -N option for --no-hostonly

12 years agoAUTHORS: update
Harald Hoyer [Sat, 21 Jul 2012 10:55:23 +0000 (12:55 +0200)]
AUTHORS: update

12 years agodracut.8: add more description about calling dracut
Harald Hoyer [Sat, 21 Jul 2012 10:52:01 +0000 (12:52 +0200)]
dracut.8: add more description about calling dracut

12 years agoresume: move resume in the initqueue/finished hook
Harald Hoyer [Fri, 20 Jul 2012 12:44:12 +0000 (14:44 +0200)]
resume: move resume in the initqueue/finished hook

this ensures, that resume is called as soon as possible

12 years agoVersion 022 022
Harald Hoyer [Fri, 20 Jul 2012 11:11:21 +0000 (13:11 +0200)]
Version 022

12 years agodracut-functions.sh: fixed host-only kernel module bug
Harald Hoyer [Fri, 20 Jul 2012 11:10:58 +0000 (13:10 +0200)]
dracut-functions.sh: fixed host-only kernel module bug

12 years agoVersion 021 021
Harald Hoyer [Fri, 20 Jul 2012 09:46:48 +0000 (11:46 +0200)]
Version 021

12 years agodracut: add option --kver=<kernel-version>
Harald Hoyer [Fri, 20 Jul 2012 09:34:40 +0000 (11:34 +0200)]
dracut: add option --kver=<kernel-version>

12 years agotestsuite: fixups and color
Harald Hoyer [Fri, 20 Jul 2012 09:20:12 +0000 (11:20 +0200)]
testsuite: fixups and color

12 years agoTurn on systemd again and Conflict < systemd-187
Harald Hoyer [Fri, 20 Jul 2012 07:11:53 +0000 (09:11 +0200)]
Turn on systemd again and Conflict < systemd-187

12 years agodracut-functions.sh: set LC_MESSAGES=C not LC_ALL
Harald Hoyer [Thu, 19 Jul 2012 11:35:50 +0000 (13:35 +0200)]
dracut-functions.sh: set LC_MESSAGES=C not LC_ALL

12 years agoMakefile: set LC_MESSAGES=C ... not LANG
Harald Hoyer [Thu, 19 Jul 2012 11:34:51 +0000 (13:34 +0200)]
Makefile: set LC_MESSAGES=C ... not LANG

12 years agosystemd/module-setup.sh: removed initctl services
Harald Hoyer [Wed, 18 Jul 2012 13:54:08 +0000 (15:54 +0200)]
systemd/module-setup.sh: removed initctl services

12 years agosystemd/module-setup.sh: removed shutdownd
Harald Hoyer [Wed, 18 Jul 2012 12:08:50 +0000 (14:08 +0200)]
systemd/module-setup.sh: removed shutdownd

we don't need timed shutdowns in the initramfs

12 years agotest/TEST-04-FULL-SYSTEMD: add systemd to modules
Harald Hoyer [Tue, 17 Jul 2012 16:05:39 +0000 (18:05 +0200)]
test/TEST-04-FULL-SYSTEMD: add systemd to modules

12 years agosystemd: stop udevd correctly
Harald Hoyer [Tue, 17 Jul 2012 16:04:44 +0000 (18:04 +0200)]
systemd: stop udevd correctly

12 years agoRevert "systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db"
Harald Hoyer [Tue, 17 Jul 2012 11:05:11 +0000 (13:05 +0200)]
Revert "systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db"

This reverts commit a43f97c4e35d0d9c7e6e315e11c909e86936e1cc.

12 years agodracut.conf.d/fedora.conf.example: disable systemd for now
Harald Hoyer [Tue, 17 Jul 2012 09:09:51 +0000 (11:09 +0200)]
dracut.conf.d/fedora.conf.example: disable systemd for now

12 years agosystemd/initrd-switch-root.service: call switch-root with --no-block
Harald Hoyer [Tue, 17 Jul 2012 09:09:17 +0000 (11:09 +0200)]
systemd/initrd-switch-root.service: call switch-root with --no-block

12 years agosystemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db
Harald Hoyer [Tue, 17 Jul 2012 09:06:25 +0000 (11:06 +0200)]
systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db

12 years agoFix fips module list.
Milan Broz [Mon, 16 Jul 2012 14:28:47 +0000 (16:28 +0200)]
Fix fips module list.

If dracut is build only with fips/fips-aesni (no crypto module),
FIPS mode fails because of missing GCM modules.

Just add proper modules to list (kernel have both maker as FIPS compliant already).

Signed-off-by: Milan Broz <mbroz@redhat.com>
12 years agodracut-functions.sh: output more info, if dependency modules are omitted
Harald Hoyer [Mon, 16 Jul 2012 10:21:56 +0000 (12:21 +0200)]
dracut-functions.sh: output more info, if dependency modules are omitted

12 years agodracut.spec: add suse version ifdefs
Harald Hoyer [Mon, 16 Jul 2012 08:33:27 +0000 (10:33 +0200)]
dracut.spec: add suse version ifdefs

12 years agoFixes for systemd-187, which does the right thing for switch-root
Harald Hoyer [Mon, 16 Jul 2012 08:13:53 +0000 (10:13 +0200)]
Fixes for systemd-187, which does the right thing for switch-root

12 years agokernel-modules/module-setup.sh: add hid_generic to kernel modules
Harald Hoyer [Thu, 12 Jul 2012 08:20:28 +0000 (10:20 +0200)]
kernel-modules/module-setup.sh: add hid_generic to kernel modules

12 years agotest/TEST-04-FULL-SYSTEMD: default to basic.target and output more debug
Harald Hoyer [Thu, 12 Jul 2012 06:59:43 +0000 (08:59 +0200)]
test/TEST-04-FULL-SYSTEMD: default to basic.target and output more debug

12 years agosystemd/service-to-run.sh: do not copy the target subdirs
Harald Hoyer [Thu, 12 Jul 2012 06:56:36 +0000 (08:56 +0200)]
systemd/service-to-run.sh: do not copy the target subdirs

12 years agosystemd/initrd-switch-root.service: add some more dependencies
Harald Hoyer [Thu, 12 Jul 2012 06:56:17 +0000 (08:56 +0200)]
systemd/initrd-switch-root.service: add some more dependencies

12 years agowatchdog/watchdog-stop.sh: forgot to add script
Harald Hoyer [Thu, 12 Jul 2012 05:01:27 +0000 (07:01 +0200)]
watchdog/watchdog-stop.sh: forgot to add script

12 years agosystemd/initrd-switch-root.service: add back "--force" to switch-root
Harald Hoyer [Wed, 11 Jul 2012 14:36:05 +0000 (16:36 +0200)]
systemd/initrd-switch-root.service: add back "--force" to switch-root

otherwise systemd does umount /run et.al.

12 years agoinstall/dracut-install.c: check for empty or "/" destdir
Harald Hoyer [Wed, 11 Jul 2012 13:47:10 +0000 (15:47 +0200)]
install/dracut-install.c: check for empty or "/" destdir

12 years agodracut.sh: for --include copy also the symbolic links
Harald Hoyer [Wed, 11 Jul 2012 13:25:49 +0000 (15:25 +0200)]
dracut.sh: for --include copy also the symbolic links

12 years agosystemd: fixed initrd-switch-root.service
Harald Hoyer [Wed, 11 Jul 2012 13:25:30 +0000 (15:25 +0200)]
systemd: fixed initrd-switch-root.service

12 years agotest: silence "make all"
Harald Hoyer [Wed, 11 Jul 2012 13:23:21 +0000 (15:23 +0200)]
test: silence "make all"

12 years agotest/TEST-04-FULL-SYSTEMD: full test with systemd and /usr mount
Harald Hoyer [Wed, 11 Jul 2012 13:15:41 +0000 (15:15 +0200)]
test/TEST-04-FULL-SYSTEMD: full test with systemd and /usr mount

12 years agodracut-shutdown.service: s/reboot.service/systemd-reboot.service/
Harald Hoyer [Wed, 11 Jul 2012 08:00:10 +0000 (10:00 +0200)]
dracut-shutdown.service: s/reboot.service/systemd-reboot.service/

12 years agotest: add support for: make V=1 TESTS="01 20 40" check
Harald Hoyer [Wed, 11 Jul 2012 07:33:32 +0000 (09:33 +0200)]
test: add support for: make V=1 TESTS="01 20 40" check

$ sudo make V=1 clean check
now runs the testsuite in verbose mode

$ sudo make TESTS="01 20 40" clean check
now only runs the 01, 20 and 40 tests.

12 years agonfs: install modprobe config file
Dave Young [Wed, 11 Jul 2012 05:08:18 +0000 (13:08 +0800)]
nfs: install modprobe config file

install nfs modprobe config file

For nfs4, in case nfs.ko is not loaded mount.nfs4 will try to load
nfs4.ko instead of nfs.ko. Fedora nfs-utils creates a lib/modprobe.d/nfs.conf
in which there's below alias:
alias nfs4 nfs

Dracut also need this file to auto load nfs kernel module.

Tested booting to a fedora 17 nfsroot share.

Signed-off-by: Dave Young <dyoung@redhat.com>
12 years agokernel-modules/module-setup.sh: also install /lib/modprobe.d/*.conf
Harald Hoyer [Wed, 11 Jul 2012 06:42:21 +0000 (08:42 +0200)]
kernel-modules/module-setup.sh: also install /lib/modprobe.d/*.conf

In theory we should only install /lib/modprobe.d/*.conf and only for
host-only the /etc/modprobe.d.

12 years agosystemd/initrd-switch-root.target: add ConditionPathExist
Harald Hoyer [Wed, 11 Jul 2012 06:41:31 +0000 (08:41 +0200)]
systemd/initrd-switch-root.target: add ConditionPathExist

12 years agotest/*/server-init.sh: redirect stdin,out,err to /dev/console
Harald Hoyer [Wed, 11 Jul 2012 06:40:45 +0000 (08:40 +0200)]
test/*/server-init.sh: redirect stdin,out,err to /dev/console

12 years agosystemd: install all dracut units in /etc and let the generator cp to /run
Harald Hoyer [Tue, 10 Jul 2012 14:20:23 +0000 (16:20 +0200)]
systemd: install all dracut units in /etc and let the generator cp to /run

All custom units, which should appear in the system later on should be
installed in /etc/systemd. They should have a guard like:
ConditionPathExists=/etc/initrd-release

So, we can later query via systemctl:

$ systemctl status dracut-initqueue.service
dracut-initqueue.service - Dracut initqueue hook
 Loaded: loaded (/run/systemd/system/dracut-initqueue.service; enabled-runtime)
 Active: inactive (dead) since Tue, 10 Jul 2012 16:01:22 +0200; 1min 37s ago
         start condition failed at Tue, 10 Jul 2012 16:01:23 +0200; 1min 36s ago
 Main PID: 173 (code=exited, status=0/SUCCESS)
 CGroup: name=systemd:/system/dracut-initqueue.service

Jul 10 16:01:22 lenovo dracut-initqueue[173]: Checking, if btrfs device complete
Jul 10 16:01:22 lenovo dracut-initqueue[173]: Remounting /dev/disk/by-uuid/ade13292-d23f-45be-b732-fa9a391a56b0 with -o compress=lzo,ssd,rw
Jul 10 16:01:22 lenovo dracut-initqueue[173]: Mounted root filesystem /dev/sda3

12 years agosystemd/initrd-switch-root.service: stop journald, rather than restart
Harald Hoyer [Tue, 10 Jul 2012 14:19:56 +0000 (16:19 +0200)]
systemd/initrd-switch-root.service: stop journald, rather than restart

12 years agoinstall/dracut-install.c: redirect stderr to stdout and skip loader
Harald Hoyer [Tue, 10 Jul 2012 08:53:28 +0000 (10:53 +0200)]
install/dracut-install.c: redirect stderr to stdout and skip loader

skip if ldd was run on the loader

12 years agoTEST-01-BASIC: enable selinux
Harald Hoyer [Tue, 10 Jul 2012 08:32:43 +0000 (10:32 +0200)]
TEST-01-BASIC: enable selinux

12 years agoTEST-01-BASIC: turn on systemd debugging
Harald Hoyer [Tue, 10 Jul 2012 07:17:48 +0000 (09:17 +0200)]
TEST-01-BASIC: turn on systemd debugging