]> git.ipfire.org Git - thirdparty/dracut.git/log
thirdparty/dracut.git
10 years agoMerge branch 'master' of github.com:haraldh/dracut 30/head
Vasiliy Tolstov [Wed, 29 Oct 2014 12:56:00 +0000 (15:56 +0300)] 
Merge branch 'master' of github.com:haraldh/dracut

10 years agoMerge pull request #28 from l1k/master
Harald Hoyer [Wed, 29 Oct 2014 12:42:25 +0000 (13:42 +0100)] 
Merge pull request #28 from l1k/master

shutdown/shutdown.sh: loop over shutdown hooks until all succeed

10 years agodracut-functions.sh: fixup for 34a1ec6 for non-local mode
Harald Hoyer [Wed, 29 Oct 2014 12:39:28 +0000 (13:39 +0100)] 
dracut-functions.sh: fixup for 34a1ec6 for non-local mode

10 years agoMerge pull request #29 from Quarky9/master
Harald Hoyer [Wed, 29 Oct 2014 12:37:15 +0000 (13:37 +0100)] 
Merge pull request #29 from Quarky9/master

Fix location of dracut-install for local mode

10 years agoFix location of dracut-install for local mode 29/head
Stefan Reimer [Wed, 29 Oct 2014 00:58:22 +0000 (17:58 -0700)] 
Fix location of dracut-install for local mode

10 years agoifcfg/write-ifcfg: only write DEVICE for non-kernel names
Harald Hoyer [Fri, 24 Oct 2014 13:47:24 +0000 (15:47 +0200)] 
ifcfg/write-ifcfg: only write DEVICE for non-kernel names

Rename an interface to the kernel namespace is not allowed, so don't add
DEVICE="<iface>", if HWADDR is given.

10 years agofix gzip compress then it not supports rsyncable option
Vasiliy Tolstov [Mon, 27 Oct 2014 10:42:06 +0000 (13:42 +0300)] 
fix gzip compress then it not supports rsyncable option

dracut fail to create initramfs when compressor gzip and
it not have rsyncable option

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
10 years agoNEWS: add 040 entry
Harald Hoyer [Fri, 24 Oct 2014 12:41:29 +0000 (14:41 +0200)] 
NEWS: add 040 entry

10 years agodracut: fixed module dependency handling 040
Harald Hoyer [Fri, 24 Oct 2014 11:19:58 +0000 (13:19 +0200)] 
dracut: fixed module dependency handling

Fail for "--modules" and "--force-add" dracut modules, if they or their
dependencies cannot be included.

10 years agotest: add "fs-lib" to dracut module list
Harald Hoyer [Fri, 24 Oct 2014 11:19:34 +0000 (13:19 +0200)] 
test: add "fs-lib" to dracut module list

10 years agoTEST-99-RPM: ignore more files
Harald Hoyer [Fri, 24 Oct 2014 11:18:35 +0000 (13:18 +0200)] 
TEST-99-RPM: ignore more files

10 years agoTEST-30-ISCSI: udev does not export path_id for iscsi
Harald Hoyer [Fri, 24 Oct 2014 11:17:30 +0000 (13:17 +0200)] 
TEST-30-ISCSI: udev does not export path_id for iscsi

therefore root=iscsi.... does not work anymore :-/

disabled for now

10 years agodmsquash-live: addresss the device via it's symlink
Harald Hoyer [Fri, 24 Oct 2014 09:16:26 +0000 (11:16 +0200)] 
dmsquash-live: addresss the device via it's symlink

Otherwise multipath parts might be passed, before it's assembled.

https://bugzilla.redhat.com/show_bug.cgi?id=1152948

10 years agoMakefile: removed dangling space 039
Harald Hoyer [Fri, 24 Oct 2014 07:37:19 +0000 (09:37 +0200)] 
Makefile: removed dangling space

10 years agoNEWS: update
Harald Hoyer [Fri, 24 Oct 2014 07:37:03 +0000 (09:37 +0200)] 
NEWS: update

10 years agoAdd hyperv-keyboard kernel module for Hyper-V Gen2 VM
Vaughan Cao [Thu, 9 Oct 2014 08:41:31 +0000 (16:41 +0800)] 
Add hyperv-keyboard kernel module for Hyper-V Gen2 VM

The synthetic keyboard of a Gen2 Linux VM doesn't work before the
hyperv_keyboard module is loaded. Without it, we can't cancel the media check
phase if boot with rd.live.check option.
Gen1 Linux VM doesn't have the same issue because the host emulates the legacy
i8042 keyboard for Gen1 VM.

Signed-off-by: Vaughan Cao <vaughan.cao@oracle.com>
10 years agoTODO: update
Harald Hoyer [Fri, 24 Oct 2014 07:00:56 +0000 (09:00 +0200)] 
TODO: update

10 years agomdraid: also accept ID_FS_UUID for rd.md.uuid
Harald Hoyer [Thu, 23 Oct 2014 12:37:02 +0000 (14:37 +0200)] 
mdraid: also accept ID_FS_UUID for rd.md.uuid

As blkid also reports MD_UUID as ID_FS_UUID, although in slightly
different format, accept it also.

10 years agonetwork/net-lib.sh:is_persistent_ethernet_name() eth* is not
Harald Hoyer [Thu, 23 Oct 2014 12:34:33 +0000 (14:34 +0200)] 
network/net-lib.sh:is_persistent_ethernet_name() eth* is not

eth* is _not_ a persistent ethernet name... tsk, tsk, tsk

10 years agoshutdown/shutdown.sh: loop over shutdown hooks until all succeed 28/head
Lukas Wunner [Mon, 6 Oct 2014 11:43:58 +0000 (13:43 +0200)] 
shutdown/shutdown.sh: loop over shutdown hooks until all succeed

Up until now, _check_shutdown() returns true if at least one of
the shutdown hooks succeeded. Change this to only return true if
*all* succeeded. To prevent an infinite loop, introduce an upper
bound of 40 iterations.

10 years agodo 'ip route replace default' instead of 'add'
Will Woods [Thu, 28 Aug 2014 17:44:47 +0000 (13:44 -0400)] 
do 'ip route replace default' instead of 'add'

When you define the gateway for an interface, dracut sets it up with:

  ip route add default via $gw dev $netif

If a default route is already set (e.g. if you have multiple NICs), this
will fail with the message "RTNETLINK answers: File exists".

So, if your first NIC isn't usable as a default route

Using "ip route replace default" instead allows ifup/dhclient-script to
correctly change the default route to the new interface.

10 years agodracut-functions.sh: exit for missing --force-add or --add dracut modules
Harald Hoyer [Fri, 12 Sep 2014 08:19:28 +0000 (10:19 +0200)] 
dracut-functions.sh: exit for missing  --force-add or --add dracut modules

Better exit with fail early, so there is no surprise on reboot.

10 years agoqemu: install virtio_console kernel module
Harald Hoyer [Fri, 12 Sep 2014 08:03:59 +0000 (10:03 +0200)] 
qemu: install virtio_console kernel module

https://bugzilla.redhat.com/show_bug.cgi?id=1097999

10 years agocms/cmssetup.sh: understand DASD="none"
Harald Hoyer [Fri, 12 Sep 2014 07:59:03 +0000 (09:59 +0200)] 
cms/cmssetup.sh: understand DASD="none"

Treat DASD="none" as unset.

https://bugzilla.redhat.com/show_bug.cgi?id=1096979

10 years agocms/cmssetup.sh: fixed indention
Harald Hoyer [Fri, 12 Sep 2014 07:57:13 +0000 (09:57 +0200)] 
cms/cmssetup.sh: fixed indention

10 years agoifcfg/write-ifcfg.sh: bind bond and bridge interfaces to HW
Harald Hoyer [Fri, 12 Sep 2014 07:48:00 +0000 (09:48 +0200)] 
ifcfg/write-ifcfg.sh: bind bond and bridge interfaces to HW

either by s390 SUBCHANNELS or HWADDR, if the interface name is not
persistent.

Previously, this was bound unconditionally with HWADDR.

10 years agoadd "--loginstall <DIR>" and loginstall="<DIR>" options
Harald Hoyer [Thu, 11 Sep 2014 14:42:36 +0000 (16:42 +0200)] 
add "--loginstall <DIR>" and loginstall="<DIR>" options

loginstall specifies a directory, in which dracut-install records all
files, which were installed from the host system to the initramfs.

Use case is e.g. to create a list of packages to watch for updates, to
maybe trigger a recreation of the initramfs.

10 years agoSupport spaces in mount_nfs (#1109933)
Brian C. Lane [Thu, 21 Aug 2014 18:31:51 +0000 (11:31 -0700)] 
Support spaces in mount_nfs (#1109933)

nfs paths may contain spaces, make sure they are preserved when passed
to nfs_to_var and mount.

Related: rhbz#1109933

10 years agoreplaced ip=auto with ip=dhcp in the documentation
Harald Hoyer [Tue, 9 Sep 2014 11:35:13 +0000 (13:35 +0200)] 
replaced ip=auto with ip=dhcp in the documentation

https://bugzilla.redhat.com/show_bug.cgi?id=1086931

10 years agonetwork/net-lib.sh: do not enforce iscsi target name policy
Harald Hoyer [Tue, 9 Sep 2014 11:31:10 +0000 (13:31 +0200)] 
network/net-lib.sh: do not enforce iscsi target name policy

also untabified

10 years agodracut.cmdline.7: add iso-scan/filename docs
Harald Hoyer [Mon, 8 Sep 2014 14:18:06 +0000 (16:18 +0200)] 
dracut.cmdline.7: add iso-scan/filename docs

10 years agokernel-modules: added hid-lcpower
Harald Hoyer [Mon, 8 Sep 2014 11:25:53 +0000 (13:25 +0200)] 
kernel-modules: added hid-lcpower

10 years agodracut: Introduce --force-drivers parameter and force_drivers=+ config option
Thomas Renninger [Mon, 8 Sep 2014 10:34:48 +0000 (12:34 +0200)] 
dracut: Introduce --force-drivers parameter and force_drivers=+ config option

Which will not only add listed drivers, but also enforce that they are
tried to be loaded at early boot time.

This is needed if drivers which are not autoloaded (e.g. loop and a lot
others) shall get loaded via initramfs.

10 years agodracut.sh: change the PATH we search for our binaries
Harald Hoyer [Fri, 5 Sep 2014 14:42:59 +0000 (16:42 +0200)] 
dracut.sh: change the PATH we search for our binaries

/sbin /bin versions should be used over /usr/sbin and /usr/bin versions,
because non-usr is meant for early boot.

See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755271

10 years agossh-client: handle /etc/ssh/ssh_config
Harald Hoyer [Fri, 29 Aug 2014 12:06:57 +0000 (14:06 +0200)] 
ssh-client: handle /etc/ssh/ssh_config

- disable ProxyCommand
- install the GlobalKnownHostsFile

https://bugzilla.redhat.com/show_bug.cgi?id=1086778

10 years agoremove all vim and emacs code format comments
Harald Hoyer [Fri, 29 Aug 2014 11:23:38 +0000 (13:23 +0200)] 
remove all vim and emacs code format comments

10 years agoadd kate and emacs per directory config files
Harald Hoyer [Fri, 29 Aug 2014 11:33:40 +0000 (13:33 +0200)] 
add kate and emacs per directory config files

10 years agoinstall: add more error handling
Harald Hoyer [Fri, 29 Aug 2014 11:22:11 +0000 (13:22 +0200)] 
install: add more error handling

also limit local variable scopes
and remove bogus checks to negativity of unsigned vars

10 years agoskipcpio: limit the local var scope
Harald Hoyer [Fri, 29 Aug 2014 11:22:37 +0000 (13:22 +0200)] 
skipcpio: limit the local var scope

10 years agoMakefile: add more warnings to CFLAGS
Harald Hoyer [Fri, 29 Aug 2014 11:22:48 +0000 (13:22 +0200)] 
Makefile: add more warnings to CFLAGS

10 years agodracut-shutdown now executes the unpacking on ExecStop
Harald Hoyer [Thu, 21 Aug 2014 16:20:22 +0000 (18:20 +0200)] 
dracut-shutdown now executes the unpacking on ExecStop

To ensure that unpacking happens before any boot.automount is stopped,
let dracut-shutdown start as a sysinit.target service and unpack on
ExecStop.

10 years agodracut-lib.sh:dev_unit_name(): use systemd-escape, if available
Harald Hoyer [Thu, 21 Aug 2014 14:45:12 +0000 (16:45 +0200)] 
dracut-lib.sh:dev_unit_name(): use systemd-escape, if available

10 years agodracut-lib.sh:cancel_wait_for_dev() fixed double escape
Harald Hoyer [Thu, 21 Aug 2014 14:38:35 +0000 (16:38 +0200)] 
dracut-lib.sh:cancel_wait_for_dev() fixed double escape

10 years agodracut.sh: source dracut-version.sh earlier than dracut-functions.sh
Harald Hoyer [Wed, 20 Aug 2014 08:21:43 +0000 (10:21 +0200)] 
dracut.sh: source dracut-version.sh earlier than dracut-functions.sh

Otherwise dracut-logger.sh outputs an empty version on journal testing.

Aug 20 10:15:49 lenovo dracut[11144]: dracut-
Aug 20 10:15:49 lenovo dracut[11148]: Executing: /sbin/dracut

10 years agoCheck kernel config for early microcode and ACPI override
Harald Hoyer [Wed, 20 Aug 2014 08:13:55 +0000 (10:13 +0200)] 
Check kernel config for early microcode and ACPI override

Disable early microcode and ACPI override, if the kernel does not
support it.

10 years agourl-lib: check for ctorrent binary before adding the url handler
Harald Hoyer [Fri, 15 Aug 2014 15:35:11 +0000 (17:35 +0200)] 
url-lib: check for ctorrent binary before adding the url handler

10 years agoAdds bittorrent support for live images
Antony Messerli [Fri, 15 Aug 2014 14:44:11 +0000 (09:44 -0500)] 
Adds bittorrent support for live images

This patch adds bittorrent support to 45url-lib for those that might want
to retrieve the same live image for multiple systems at once without
saturating the network.

This patch requires ctorrent to be installed into initramfs.

Torrent kernel command line format:
root=live:torrent://example.com/liveboot.img.torrent

Start a tracker:
bttrack --bind <tracker_ip> --port 6969 --dfile dstate --reannounce_interval 60

Create the torrent:
ctorrent -t live_image -u http://<tracker_ip>:6969/announce -s live_image.torrent

Seed the initial torrent:
ctorrent live_image.torrent

Boot the live image.

10 years agoAdding support for read/write filesystem images
Major Hayden [Mon, 4 Aug 2014 15:27:36 +0000 (10:27 -0500)] 
Adding support for read/write filesystem images

A user can provide a filesystem image (rootfs.img) inside a compressed
tarball and that filesystem image will be mounted read/write.  This provides
some benefits over a device mapper snapshot overlay, especially when the
live system becomes full.  The boot command line simple needs
"rd.writable.fsimg" added to utilize this feature.

Additional documentation for this option as well as other live boot
options is included.

Signed-off-by: Major Hayden <major@mhtx.net>
10 years ago50-dracut.install: install pregenerated initrd
Harald Hoyer [Fri, 15 Aug 2014 12:58:34 +0000 (14:58 +0200)] 
50-dracut.install: install pregenerated initrd

If there is an already pregenerated initrd at the same location as the
kernel install that and do not generate a new one.

10 years ago50-dracut.install: fixed /proc/cmdline reading
Harald Hoyer [Fri, 15 Aug 2014 12:58:02 +0000 (14:58 +0200)] 
50-dracut.install: fixed /proc/cmdline reading

and beautified the code a bit

10 years ago51-dracut-rescue.install: fixed /proc/cmdline read
Harald Hoyer [Fri, 15 Aug 2014 12:56:42 +0000 (14:56 +0200)] 
51-dracut-rescue.install: fixed /proc/cmdline read

10 years agoMakefile:rpm: wget the lgpl license for Source1
Harald Hoyer [Fri, 15 Aug 2014 12:03:39 +0000 (14:03 +0200)] 
Makefile:rpm: wget the lgpl license for Source1

10 years agoGenerate reproducible initramfs images
Harald Hoyer [Thu, 3 Jul 2014 10:52:58 +0000 (12:52 +0200)] 
Generate reproducible initramfs images

With the same source of files, it should be possible to generate the
same image file with every dracut run.

To accomplish this, we modify the timestamps of the files we generate at
runtime, call gzip with "-n" and cpio with "--reproducible".

The cpio --reproducible option is not yet upstream though, so if you
feel like it should be then please nag at the cpio mailing list.
http://lists.gnu.org/archive/html/bug-cpio/2014-08/msg00000.html

10 years agodracut-functions.sh:get_persistent_dev(): use printf, instead of echo
Harald Hoyer [Fri, 15 Aug 2014 10:36:04 +0000 (12:36 +0200)] 
dracut-functions.sh:get_persistent_dev(): use printf, instead of echo

10 years agoIntroduce ARM specific modules needed by drm
Nicolas Chauvet [Mon, 4 Aug 2014 20:04:39 +0000 (22:04 +0200)] 
Introduce ARM specific modules needed by drm

10 years agoCategorize needed modules on ARM
Nicolas Chauvet [Mon, 4 Aug 2014 20:04:38 +0000 (22:04 +0200)] 
Categorize needed modules on ARM

10 years agoTest soc path for modalias needed by drm
Nicolas Chauvet [Mon, 4 Aug 2014 20:04:37 +0000 (22:04 +0200)] 
Test soc path for modalias needed by drm

On ARM, both pci and soc path can be tested for drm.

With this patchset, that was missing in recent kernel,
the tegra_drm case is not needed anymore:
http://patchwork.ozlabs.org/patch/361765/
http://www.spinics.net/lists/linux-tegra/msg17948.html

10 years agodracut-functions: get_persistent_dev() fall back to the original name
WANG Chao [Mon, 28 Jul 2014 14:26:28 +0000 (22:26 +0800)] 
dracut-functions: get_persistent_dev() fall back to the original name

In case of raw disk/partition, ex. /dev/vda1, which doesn't contain any
filesystem on it. get_persistent_dev() would return empty. Now fix it to
return its original name, /dev/vda1 in above case. So that we don't have
to check its return string every time.

Signed-off-by: WANG Chao <chaowang@redhat.com>
10 years agodracut.usage.asc: also add a link for RHEL-7 storage admin guide
Harald Hoyer [Fri, 15 Aug 2014 09:50:31 +0000 (11:50 +0200)] 
dracut.usage.asc: also add a link for RHEL-7 storage admin guide

10 years agodracut.usage.asc: extend parameters for shutdown debug procedure
Harald Hoyer [Fri, 15 Aug 2014 09:44:26 +0000 (11:44 +0200)] 
dracut.usage.asc: extend parameters for shutdown debug procedure

10 years agoi18n: check for $i18n_install_all == "yes" rather than being set
Harald Hoyer [Thu, 14 Aug 2014 10:56:53 +0000 (12:56 +0200)] 
i18n: check for $i18n_install_all == "yes" rather than being set

i18n_install_all="no" does not have the expected effect without this
patch

10 years agobridging: update the ifcfg files generated for bridge slaves
Alex Harpin [Sat, 2 Aug 2014 19:08:25 +0000 (20:08 +0100)] 
bridging: update the ifcfg files generated for bridge slaves

Update the ifcfg files generated for bridge slaves so they reference
the bridge they are part of.  Related to early patch submitted as a
fix for Bug #1123552.

Bug #1123552 https://bugzilla.redhat.com/show_bug.cgi?id=1123552

10 years agotest: make testsuite work with the new systemd minimal root req
Harald Hoyer [Fri, 8 Aug 2014 11:34:04 +0000 (13:34 +0200)] 
test: make testsuite work with the new systemd minimal root req

systemd needs more directories to switch root

11 years agofixed bridge setup
Harald Hoyer [Fri, 1 Aug 2014 11:16:29 +0000 (13:16 +0200)] 
fixed bridge setup

renamed "ethnames" in bridge.info to "bridgeslaves"

fixed ifcfg generation

11 years agoTEST-20-NFS: add more commands and fix client root dirs
Harald Hoyer [Fri, 1 Aug 2014 11:15:44 +0000 (13:15 +0200)] 
TEST-20-NFS: add more commands and fix client root dirs

11 years agoTEST-20-NFS:client-init.sh: add shell on rd.shell
Harald Hoyer [Fri, 1 Aug 2014 11:15:05 +0000 (13:15 +0200)] 
TEST-20-NFS:client-init.sh: add shell on rd.shell

11 years agoNEWS: update
Harald Hoyer [Tue, 29 Jul 2014 09:04:09 +0000 (11:04 +0200)] 
NEWS: update

11 years agodracut.spec: fixed license file packaging
Harald Hoyer [Thu, 24 Jul 2014 12:47:14 +0000 (14:47 +0200)] 
dracut.spec: fixed license file packaging

11 years agodracut.sh: add DRACUT_PATH
Harald Hoyer [Tue, 22 Jul 2014 12:43:33 +0000 (14:43 +0200)] 
dracut.sh: add DRACUT_PATH

DRACUT_PATH can now be used to specify the PATH used by dracut
to search for binaries instead of the default
/usr/sbin:/sbin:/usr/bin:/bin

This should be set in the distribution config file
/usr/lib/dracut/dracut.conf.d/01-dist.conf

11 years agotest/TEST-30-ISCSI: add rd.shell to client root
Harald Hoyer [Tue, 22 Jul 2014 12:22:21 +0000 (14:22 +0200)] 
test/TEST-30-ISCSI: add rd.shell to client root

11 years agoadd "--install-optional" and install_optional_items
Harald Hoyer [Tue, 22 Jul 2014 12:09:06 +0000 (14:09 +0200)] 
add "--install-optional" and install_optional_items

11 years agonetwork: add rd.route parameter
Harald Hoyer [Tue, 22 Jul 2014 09:03:56 +0000 (11:03 +0200)] 
network: add rd.route parameter

11 years agobase/dracut-lib:pidof() turn off debugging
Harald Hoyer [Tue, 22 Jul 2014 09:51:08 +0000 (11:51 +0200)] 
base/dracut-lib:pidof() turn off debugging

11 years agoARM: update modules for ARM host only options
Peter Robinson [Sun, 20 Jul 2014 21:20:04 +0000 (22:20 +0100)] 
ARM: update modules for ARM host only options

11 years agodracut-functions.sh: fix inst*() functions for "-H" handling
Harald Hoyer [Mon, 21 Jul 2014 14:58:15 +0000 (16:58 +0200)] 
dracut-functions.sh: fix inst*() functions for "-H" handling

because some inst*() functions check the existance of the source files
and do not know about the "-H" option, some failed to install the
hostonly files.

11 years agoInstalling an OS with VLAN enabled to an ISCSI LUN (from ibft)
Praveen_Paladugu@Dell.com [Tue, 10 Jun 2014 15:35:16 +0000 (10:35 -0500)] 
Installing an OS with VLAN enabled to an ISCSI LUN (from ibft)

When installing OS to a VLAN enabled iscsi LUN (extracted from iBFT), "/tmp/net.{xyz}.has_ibft_config" is not being set properly.

Then anaconda installer requires 'BOOTPROTO="ibft"' populated in ifcfg of the vlan interface (ex: ibft0.20), for it to properly populate the kernel parameters post installation. The setting 'BOOTPROTO="ibft"' is populated by write-ifcfg.sh script only if the corresponding interface has a file /tmp/net.{xyz}.has_inft_config

To get around this issue, in ibft_to_cmdline() function in net-lib.sh file, I made the following changes to populate the has_ibft_config file for the vlan interface(ex: ibft0.20):

11 years agodracut-functions.sh: speed up ldconfig_paths()
Harald Hoyer [Tue, 8 Jul 2014 10:54:21 +0000 (12:54 +0200)] 
dracut-functions.sh: speed up ldconfig_paths()

11 years agoplymouth: also find the pkglibdir on debian
Harald Hoyer [Tue, 8 Jul 2014 09:50:51 +0000 (11:50 +0200)] 
plymouth: also find the pkglibdir on debian

11 years agodracut.sh: always copy prelink files in FIPS mode
Harald Hoyer [Tue, 8 Jul 2014 09:50:04 +0000 (11:50 +0200)] 
dracut.sh: always copy prelink files in FIPS mode

regardless of the the prelink={yes|no} switch

11 years agolvm:module-setup.sh: check for existance of 69-dm-lvm-metad.rules
Harald Hoyer [Thu, 3 Jul 2014 13:04:17 +0000 (15:04 +0200)] 
lvm:module-setup.sh: check for existance of 69-dm-lvm-metad.rules

fixup for 12819a579900b9691e2bfaf14e76fbb025851530

11 years agomodsign: do not hardcode path to keyctl
Alexander Tsoy [Mon, 31 Mar 2014 13:56:13 +0000 (17:56 +0400)] 
modsign: do not hardcode path to keyctl

https://bugs.gentoo.org/show_bug.cgi?id=506094

11 years agoNEWS: update for version 038 038
Harald Hoyer [Tue, 24 Jun 2014 16:09:07 +0000 (18:09 +0200)] 
NEWS: update for version 038

11 years agoTEST-15-BTRFSRAID: install /etc/os-release
Harald Hoyer [Mon, 30 Jun 2014 09:29:56 +0000 (11:29 +0200)] 
TEST-15-BTRFSRAID: install /etc/os-release

makes systemd switch-root happy

11 years agotest: add udev settle after sfdisk
Harald Hoyer [Mon, 30 Jun 2014 09:29:37 +0000 (11:29 +0200)] 
test: add udev settle after sfdisk

11 years agoifcfg: depends on network
Harald Hoyer [Mon, 30 Jun 2014 09:28:08 +0000 (11:28 +0200)] 
ifcfg: depends on network

11 years agobase/init.sh: use loop counter with unique varname
Harald Hoyer [Fri, 27 Jun 2014 16:05:37 +0000 (18:05 +0200)] 
base/init.sh: use loop counter with unique varname

$i can be polluted too easily

11 years agoresume: only install hostonly files, if in hostonly mode
Harald Hoyer [Fri, 27 Jun 2014 10:47:56 +0000 (12:47 +0200)] 
resume: only install hostonly files, if in hostonly mode

11 years agoAdd "rd.cmdline=ask" kernel command line parameter
Harald Hoyer [Fri, 27 Jun 2014 10:02:14 +0000 (12:02 +0200)] 
Add "rd.cmdline=ask" kernel command line parameter

prompts the user for additional kernel command line parameters

11 years agodefault to hostonly_cmdline=yes, if hostonly
Harald Hoyer [Wed, 25 Jun 2014 14:54:04 +0000 (16:54 +0200)] 
default to hostonly_cmdline=yes, if hostonly

if hostonly_cmdline is not yet set, set it to "yes", if in hostonly
mode.

11 years agokernel-modules: add tegra arm modules
Harald Hoyer [Wed, 25 Jun 2014 10:02:30 +0000 (12:02 +0200)] 
kernel-modules: add tegra arm modules

11 years agoTEST-04-FULL-SYSTEMD/test.sh: removed debug comments
Harald Hoyer [Wed, 25 Jun 2014 09:45:42 +0000 (11:45 +0200)] 
TEST-04-FULL-SYSTEMD/test.sh: removed debug comments

11 years agoprint out, what kernel command line parameters are used
Harald Hoyer [Tue, 24 Jun 2014 16:55:49 +0000 (18:55 +0200)] 
print out, what kernel command line parameters are used

11 years agousable_root(): only check for ld-*.so
Harald Hoyer [Tue, 24 Jun 2014 16:54:35 +0000 (18:54 +0200)] 
usable_root(): only check for ld-*.so

current systemd allows booting with only /usr on the root partition

see, if we can find an elf loader

11 years agoAdd rd.hostonly kernel command line parameters
Harald Hoyer [Tue, 24 Jun 2014 16:13:28 +0000 (18:13 +0200)] 
Add rd.hostonly kernel command line parameters

rd.hostonly=0 will remove all configuration compiled in the initramfs
from the host on which it was build

11 years agoMakefile: add debugtestimage and debughostimage targets
Harald Hoyer [Tue, 24 Jun 2014 16:12:04 +0000 (18:12 +0200)] 
Makefile: add debugtestimage and debughostimage targets

11 years agoinstall: add -H flag for install
Harald Hoyer [Tue, 24 Jun 2014 16:11:47 +0000 (18:11 +0200)] 
install: add -H flag for install

inst* functions and dracut-install now accept the "-H" flag, which
logs all installed files to /lib/dracut/hostonly-files. This is used
to remove those files, if rd.hostonly is given on the kernel command line.

11 years agolsinird: Adding option "-m|--mod" to list dracut modules in the image
Hari Bathini [Mon, 2 Jun 2014 10:57:37 +0000 (16:27 +0530)] 
lsinird: Adding option "-m|--mod" to list dracut modules in the image

This patch adds option "-m|--mod" to lsinitrd to list dracut
modules in the image  because sometimes  having an option to
only list the dracut modules in the image could be handy.

Sample output:
--------------

[hbathini@localhost dracut]$ sudo ./lsinitrd.sh initramfs-3.11.10-100.fc18.x86_64.img -m
Image: initramfs-3.11.10-100.fc18.x86_64.img: 33M
========================================================================
Version: dracut-029-1.fc18.2

dracut modules:
i18n
network
ifcfg
drm
plymouth
btrfs
crypt
dm
dmraid
kernel-modules
lvm
mdraid
cifs
iscsi
nfs
resume
rootfs-block
terminfo
udev-rules
biosdevname
systemd
usrmount
base
fs-lib
shutdown
========================================================================

Signed-off-by: Hari Bathini <hbathini@linux.vnet.ibm.com>
11 years agolsinitrd.sh: don't choke on LZO-compressed images
Tobias Geerinckx [Tue, 3 Jun 2014 02:59:34 +0000 (04:59 +0200)] 
lsinitrd.sh: don't choke on LZO-compressed images

lsinitrd (and hence dracut) currently fail to list the contents of any
LZO-compressed image, and merely spit out misleading xzcat errors.

I guess no-one actually uses them.

11 years ago98systemd: also install systemd-journald-dev-log.socket
Daniel Schaal [Thu, 19 Jun 2014 09:38:25 +0000 (11:38 +0200)] 
98systemd: also install systemd-journald-dev-log.socket

The /dev/log socket was moved to /run on systemd 214, install the
newly added socket unit.

11 years agosystemd: Optionally, include efivarsfs module
Cristian Rodríguez [Mon, 16 Jun 2014 05:13:44 +0000 (01:13 -0400)] 
systemd: Optionally, include efivarsfs module

It is, however not an error if this module can't be found.