Skip to content
Snippets Groups Projects
Commit c2d589e0 authored by Ben Hutchings's avatar Ben Hutchings
Browse files

Revert "mkinitramfs: check if initramfs has a shell"


This reverts commit 9c823ad2.  It did
not solve the problem it was intended to, because it used "$DESTDIR"
in the destination argument to copy_exec and would therefore copy to
/var/tmp/<something> inside the initramfs.

Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 15fd713e
No related branches found
No related tags found
No related merge requests found
......@@ -379,11 +379,6 @@ if [ -e "${CONFDIR}/DSDT.aml" ]; then
copy_file DSDT "${CONFDIR}/DSDT.aml"
fi
# Make sure there is a final sh in initramfs
if [ ! -e "${DESTDIR}/bin/sh" ]; then
copy_exec /bin/sh "${DESTDIR}/bin/"
fi
[ "${verbose}" = y ] && echo "Building cpio ${outfile} initramfs"
if [ -s "${__TMPEARLYCPIO}" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment