summaryrefslogtreecommitdiff
path: root/image/backends/initrd.sh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'image/backends/initrd.sh.cpp')
-rw-r--r--image/backends/initrd.sh.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/image/backends/initrd.sh.cpp b/image/backends/initrd.sh.cpp
index 6608481..0f4fee7 100644
--- a/image/backends/initrd.sh.cpp
+++ b/image/backends/initrd.sh.cpp
@@ -70,6 +70,7 @@ const char *initrd = "#!/bin/sh -e\n\
\n\
if [ -n ${CDINIT_DIR} ]; then\n\
cp ${CDINIT_DIR}/cdinit-$ARCH ${INITRD_DIR}/init\n\
+ chmod 755 ${INITRD_DIR}/init\n\
else\n\
log error 'No cdinit binary found, and compilation is not yet supported'\n\
exit 2\n\