Exclude more extraneous files from rootfs image
This commit is contained in:
@@ -61,6 +61,10 @@ tar -c -C overlay . \
|
||||
|
||||
cp -uv /usr/${target}/usr/bin/grub-editenv /mnt/gentoo/usr/bin/
|
||||
|
||||
find /mnt/gentoo/usr/${target}/usr/lib/udev/rules.d \
|
||||
-name '*.rules' \
|
||||
-exec mv -t /mnt/gentoo/usr/lib/udev/rules.d/ {} +
|
||||
|
||||
if [ -f /mnt/gentoo/etc/udev/hwdb.bin ]; then
|
||||
mv /mnt/gentoo/etc/udev/hwdb.bin /mnt/gentoo/usr/lib/udev/
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user