Commit d4db9dce authored by Surbhi Palande's avatar Surbhi Palande
Browse files

Removed the destination for copy_exec and the unnecessary echoes

parent 87dbfd9e
...@@ -22,9 +22,8 @@ esac ...@@ -22,9 +22,8 @@ esac
. /usr/share/initramfs-tools/hook-functions . /usr/share/initramfs-tools/hook-functions
copy_exec /sbin/mountall
copy_exec /sbin/mountall /sbin/ copy_exec /sbin/mntctl
copy_exec /sbin/mntctl /sbin/
mkdir -p ${DESTDIR}/lib/init/ mkdir -p ${DESTDIR}/lib/init/
mkdir -p ${DESTDIR}/etc/dbus-1/system.d/ mkdir -p ${DESTDIR}/etc/dbus-1/system.d/
cp /etc/dbus-1/system.d/Mountall.Server.conf ${DESTDIR}/etc/dbus-1/system.d/ cp /etc/dbus-1/system.d/Mountall.Server.conf ${DESTDIR}/etc/dbus-1/system.d/
...@@ -50,7 +49,6 @@ else ...@@ -50,7 +49,6 @@ else
fi fi
libnss_files=`dpkg -L libc6 | grep libnss_files.so.2` libnss_files=`dpkg -L libc6 | grep libnss_files.so.2`
echo "*$libnss_files*"
if [ -f $libnss_files ]; then if [ -f $libnss_files ]; then
cp -uv $libnss_files ${DESTDIR}/lib/libnss_files.so.2 cp -uv $libnss_files ${DESTDIR}/lib/libnss_files.so.2
else else
...@@ -69,6 +67,3 @@ else ...@@ -69,6 +67,3 @@ else
fi fi
cp /etc/blkid.conf ${DESTDIR}/etc/ cp /etc/blkid.conf ${DESTDIR}/etc/
echo "exiting hook for mountall"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment