From 6084e986f8affc7045c6aa2043acb6cc86fea920 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Fri, 13 Nov 2020 20:54:21 -0500 Subject: use install -bS instead of rolling our own, drop POSIX claim --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dd82eb4..6dabfc3 100644 --- a/Makefile +++ b/Makefile @@ -25,9 +25,7 @@ modules.dep: modules modules.dep.ver /lib/modules/$(KERNVER)/modules.dep awk '!/^#/ { print $$1 }' modules | xargs modinfo -F filename -k $(KERNVER) | sed -e 's:^/lib/modules/$(KERNVER)/:^:' | grep -f - /lib/modules/$(KERNVER)/modules.dep > $@ install: initramfs.img - install -m644 initramfs.img /boot/initramfs.img.new - if [ -e /boot/initramfs.img ]; then mv /boot/initramfs.img /boot/initramfs.img.old; fi - mv /boot/initramfs.img.new /boot/initramfs.img + install -bS.old -m644 initramfs.img /boot/initramfs.img clean: rm -f initramfs.img initramfs.d gen_init_cpio modules.dep -- cgit v1.2.3-70-g09d2