mkinitramfs: /etc/mkinitramfs as default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Scott James Remnant (Canonical) |
Bug Description
I was trying to test and play a bit with my own config dir and I found the
/etc/mkinitramfs/ was as default in a part of the script. And I couldn't work
properly until I've changed the script:
<patch>
--- mkinitramfs 2005-09-17 19:28:59.000000000 +0100
+++ mkinitramfs.mine 2005-10-17 03:42:29.666331280 +0100
@@ -119,11 +119,11 @@
ln -s /usr/lib/
copy_exec /usr/share/
cp -a /usr/share/
-for f in $(cd /etc/mkinitramf
+for f in $(cd ${CONFDIR}/scripts && \
find . \( -name '*.dpkg*' -prune -o -name '*~' -prune \) \
-o -type f -print); do
mkdir --parents ${DESTDIR}
-cp -p /etc/mkinitramf
+cp -p ${CONFDIR}
done
copy_exec ${CONFDIR}
cp -a /etc/udev ${DESTDIR}/etc
</patch>
I don't know if this is useful for everybody, but it was for me. I hope it be
helpful.
Thanks
These patches are correct. Thanks for catching these! I'll have them in my
next upload.