diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-30 12:00:16 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-30 12:00:16 +0000 |
commit | 0c1e784df7e69bf08a5569476e0a856f3f248fc5 (patch) | |
tree | 5b106f481731d61cc06af51238de6d704eb885eb /sub/initramfs/Makefile | |
parent | 91195c146cb1d9c4ab69464ea818169284a4a10f (diff) | |
download | lh-bootstrap-0c1e784df7e69bf08a5569476e0a856f3f248fc5.tar.xz |
Rip out initramfs, remove wireless-db hack for 4.15.12 kernel
Diffstat (limited to 'sub/initramfs/Makefile')
-rw-r--r-- | sub/initramfs/Makefile | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/sub/initramfs/Makefile b/sub/initramfs/Makefile deleted file mode 100644 index e175160..0000000 --- a/sub/initramfs/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# The initramfs - -INITRAMFS_SKARNET_LIST := background cd execlineb exit export fdclose fdmove forstdin if importas piperw pipeline redirfd s6-echo s6-mount mdevd-coldplug mdevd - -$(OUTPUT)/tmp/.lh_initramfs_installed: $(OUTPUT)/tmp/.lh_layout_copied $(OUTPUT)/build-host/.lh_skarnet_installed $(OUTPUT)/initramfs/bin/kill - for i in $(INITRAMFS_SKARNET_LIST) ; do cp -f -L $(OUTPUT)/rootfs/command/$$i $(OUTPUT)/initramfs/command/$$i ; done - exec setuidgid $(NORMALUSER) touch $@ - -$(OUTPUT)/initramfs/bin/kill: $(OUTPUT)/tmp/kill - exec cp -f $< $@ - -$(OUTPUT)/tmp/kill: $(OUTPUT)/build-host/.lh_skarnet_installed sub/initramfs/kill.c $(OUTPUT)/build-host/bin/muslgcc - exec setuidgid $(NORMALUSER) $(OUTPUT)/build-host/bin/muslgcc -O2 -pipe -s -static -fomit-frame-pointer -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wa,--noexecstack -fno-stack-protector -ffunction-sections -fdata-sections -Wl,--sort-section=alignment -Wl,--sort-common -Wl,--gc-sections -o $@ -I$(OUTPUT)/rootfs/package/prog/skalibs/include -L$(OUTPUT)/rootfs/package/prog/skalibs/library sub/initramfs/kill.c -lskarnet - -$(OUTPUT)/initramfs.img.gz: $(OUTPUT)/tmp/.lh_initramfs_installed - cd $(OUTPUT)/initramfs && find . | cpio -o --format=newc > ../initramfs.img && cd .. && rm -f $@ && gzip -9 initramfs.img - -$(OUTPUT)/rootfs/boot/initramfs.gz: $(OUTPUT)/initramfs.img.gz | $(OUTPUT)/build-build/.lh_skarnet_installed $(OUTPUT)/tmp/.lh_layout_copied - exec cp -f $(OUTPUT)/initramfs.img.gz $(OUTPUT)/rootfs/boot/initramfs-$(KERNEL_VERSION).gz - exec s6-ln -sf initramfs-$(KERNEL_VERSION).gz $@ - -ifeq ($(KERNEL_GENERIC_ARCH),x86) -$(OUTPUT)/tmp/.lh_initramfs_done: $(OUTPUT)/rootfs/boot/initramfs.gz -else -$(OUTPUT)/tmp/.lh_initramfs_done: $(OUTPUT)/initramfs.img.gz -endif - exec setuidgid $(NORMALUSER) touch $@ |