From 7928487bbee9b6cc5967c0c7c1fa17c812e942e1 Mon Sep 17 00:00:00 2001 From: Les Aker <me@lesaker.org> Date: Sat, 15 Nov 2014 15:26:44 -0500 Subject: [PATCH] handle templates in initrd --- initcpio/hooks/dock0 | 1 + 1 file changed, 1 insertion(+) diff --git a/initcpio/hooks/dock0 b/initcpio/hooks/dock0 index 33b81d6..851e8f6 100644 --- a/initcpio/hooks/dock0 +++ b/initcpio/hooks/dock0 @@ -54,5 +54,6 @@ dock0_mount_handler() { _mnt_dev "${cow_dev}" "/run/dock0/cowspace" "-w" _mnt_loop "/run/dock0/bootmnt/root.fs.sfs" "/run/dock0/sfs/" _mnt_fs "/run/dock0/sfs/root.fs" "${newroot}" "/" + [ -d /run/dock0/bootmnt/config/templates/ ] && cp -R /run/dock0/bootmnt/config/templates/* / }