dcavalca / rpms / initscripts

Forked from rpms/initscripts 4 years ago
Clone

Blame SOURCES/0001-autorelabel-call-dracut-initramfs-restore-before-for.patch

1ea338
From 46f5c65d242efafcc27c5da23d0f0d8387ba7250 Mon Sep 17 00:00:00 2001
1ea338
From: Michal Sekletar <msekleta@redhat.com>
1ea338
Date: Mon, 1 Feb 2016 17:00:43 +0100
1ea338
Subject: [PATCH] autorelabel: call dracut-initramfs-restore before forced
1ea338
 reboot
1ea338
1ea338
---
1ea338
 systemd/rhel-autorelabel | 1 +
1ea338
 1 file changed, 1 insertion(+)
1ea338
1ea338
diff --git a/systemd/rhel-autorelabel b/systemd/rhel-autorelabel
1ea338
index 7cb9b40..924df8e 100755
1ea338
--- a/systemd/rhel-autorelabel
1ea338
+++ b/systemd/rhel-autorelabel
1ea338
@@ -31,6 +31,7 @@ relabel_selinux() {
1ea338
 	/sbin/fixfiles $FORCE restore > /dev/null 2>&1
1ea338
     fi
1ea338
     rm -f  /.autorelabel
1ea338
+    /usr/lib/dracut/dracut-initramfs-restore
1ea338
     systemctl --force reboot
1ea338
 }
1ea338
 
1ea338
-- 
1ea338
2.4.3
1ea338