Skip to content

Commit

Permalink
Add documented but missing initrd.img target
Browse files Browse the repository at this point in the history
  • Loading branch information
agamez committed Sep 21, 2018
1 parent 70569c8 commit 4a29648
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ install-exec-hook:
cd $(DESTDIR)$(pkglibexecdir) && \
mv -f tiny_initramfs init
endif

initrd.img: tiny_initramfs
mkdir -p initramfs/dev initramfs/proc initramfs/target || true
cp tiny_initramfs initramfs/init
strip initramfs/init
cd initramfs && find . | cpio -o --quiet -R 0:0 -H newc | gzip > ../initrd.img

0 comments on commit 4a29648

Please sign in to comment.