From 7ae658b2878d6ca88475062e4ede0dd120103b62 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 15 Jan 2016 18:10:14 -0500 Subject: profile_make_initramfs(): New function --- (limited to 'src/profile') diff --git a/src/profile/proteanos.sh b/src/profile/proteanos.sh index 69771a8..46c0e69 100644 --- a/src/profile/proteanos.sh +++ b/src/profile/proteanos.sh @@ -271,6 +271,21 @@ prof_proteanos_find_kernel() return 1 } +prof_proteanos_make_initramfs() +{ + local arch="${1}" + local plat="${2}" + + case "${arch}" in + *-linux-*) + find . -xdev -a \! -path './boot/*' -a \ + \! -path './prokit/*' | \ + ${CPIO} -o -H newc | ${XZ} -c --x86 --lzma2 + ;; + esac + return 1 +} + prof_proteanos_register() { register_profile 'proteanos' -- cgit v0.9.1