[arch-releng] [PATCH 10/12] [configs/releng] Add /run/aif/ignore_block_devices

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Wed Feb 22 22:30:49 EST 2012


This is just a symlink to /run/archiso/used_block_devices

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
---
 .../rc.d/functions.d/symlink_used_block_devices    |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
 create mode 100644 configs/releng/root-image/etc/rc.d/functions.d/symlink_used_block_devices

diff --git a/configs/releng/root-image/etc/rc.d/functions.d/symlink_used_block_devices b/configs/releng/root-image/etc/rc.d/functions.d/symlink_used_block_devices
new file mode 100644
index 0000000..f6b6062
--- /dev/null
+++ b/configs/releng/root-image/etc/rc.d/functions.d/symlink_used_block_devices
@@ -0,0 +1,7 @@
+symlink_used_block_devices()
+{
+    mkdir /run/aif
+    ln -s /run/archiso/used_block_devices /run/aif/ignore_block_devices
+}
+
+add_hook multi_end symlink_used_block_devices
-- 
1.7.9.1



More information about the arch-releng mailing list