Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
1 change: 1 addition & 0 deletions devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/syscall.h>
#include <sys/sysmacros.h>

/* Not all libcs define these things, unfortunately... */
#ifndef DT_UNKNOWN
Expand Down