]> git.ipfire.org Git - thirdparty/dracut.git/commit - dracut.sh
dracut: Don't fail at copying files when including directories
authorErwan Velu <erwan.velu@enovance.com>
Wed, 17 Dec 2014 16:04:19 +0000 (17:04 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 19 Dec 2014 12:42:57 +0000 (13:42 +0100)
commit332ecaa900a5af83ffae64f3e103270e49de88de
treed5cad686680c14afc94b8aa9abbbe3084ad772e3
parent3e7a05f2a5f051a97ac08885f5288bc310c367c2
dracut: Don't fail at copying files when including directories

When including a directory, the files were considered in the directory
name which lead to messages like :

cp: failed to access '/var/tmp/initramfs.L9s2zO///init-func': No such file or directory

This patch does make the destdir more explicit and copy files into the
destination directory instead of destdir/filename/
dracut.sh