[PATCH] Fix?: mkdir -p "$DESTDIR/conf/conf.d"
Christian Jaeger
christian at jaeger.mine.nu
Wed Dec 10 22:15:38 UTC 2008
Note that this seems only be needed because I'm testing with the
cryptroot script alone, possibly in real usage this directory already
exists?
Signed-off-by: Christian Jaeger <christian at jaeger.mine.nu>
---
debian/initramfs/cryptroot-hook | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/debian/initramfs/cryptroot-hook b/debian/initramfs/cryptroot-hook
index 9e25d09..096c5bb 100644
--- a/debian/initramfs/cryptroot-hook
+++ b/debian/initramfs/cryptroot-hook
@@ -351,6 +351,7 @@ add_device() {
if ! get_device_opts "$node" "$opts"; then
continue
fi
+ mkdir -p "$DESTDIR/conf/conf.d"
echo "$OPTIONS" >> "$DESTDIR/conf/conf.d/cryptroot"
# If we have a keyscript, make sure it is included
--
1.6.0.5
--------------040205070700080306060505
Content-Type: text/x-patch;
name="0005-Need-to-still-continue-meaning-stop-looping-aft.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename*0="0005-Need-to-still-continue-meaning-stop-looping-aft.patch"
More information about the pkg-cryptsetup-devel
mailing list