summaryrefslogtreecommitdiffstats
path: root/src/profile/proteanos.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-01-15 18:10:14 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-01-15 18:10:14 (EST)
commit7ae658b2878d6ca88475062e4ede0dd120103b62 (patch)
treef88a700183074300405e54f1f2353a66e79f3c38 /src/profile/proteanos.sh
parentafac52a2827ef57dd42db321983d5b604221b9ce (diff)
profile_make_initramfs(): New function
Diffstat (limited to 'src/profile/proteanos.sh')
-rw-r--r--src/profile/proteanos.sh15
1 files changed, 15 insertions, 0 deletions
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'