summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--README2
2 files changed, 1 insertions, 5 deletions
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
diff --git a/README b/README
index bd1e5b5..8228758 100644
--- a/README
+++ b/README
@@ -14,13 +14,11 @@ Features:
- udev/mdev-free module loading
- minimal runtime overhead
- minimal code: 80 SLOC total (init + make + Makefile + unlock)
-- pure POSIX shell + POSIX Makefile
Drawbacks:
- uses existing system tools
- requires exact module list
-- pure POSIX shell + POSIX Makefile
Usage: