Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng/root-image/etc/rc.d/functions.d/symlink_used_block_devices
diff options
context:
space:
mode:
Diffstat (limited to 'configs/releng/root-image/etc/rc.d/functions.d/symlink_used_block_devices')
-rw-r--r--configs/releng/root-image/etc/rc.d/functions.d/symlink_used_block_devices7
1 files changed, 7 insertions, 0 deletions
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