From e5a5b64c61de0b687b465fb19d8f0208df7cc14e Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 29 Apr 2022 21:22:24 -0400 Subject: add complete build system --- linux/patches/gen_initramfs.sh.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 linux/patches/gen_initramfs.sh.patch (limited to 'linux/patches/gen_initramfs.sh.patch') diff --git a/linux/patches/gen_initramfs.sh.patch b/linux/patches/gen_initramfs.sh.patch new file mode 100644 index 0000000..472fe37 --- /dev/null +++ b/linux/patches/gen_initramfs.sh.patch @@ -0,0 +1,31 @@ +--- usr/gen_initramfs.sh 2022-04-08 07:59:05.000000000 -0400 ++++ usr/gen_initramfs.sh.new 2022-04-21 08:51:04.635080820 -0400 +@@ -187,8 +187,8 @@ + } + + prog=$0 +-root_uid=0 +-root_gid=0 ++root_uid="squash" ++root_gid="squash" + dep_list= + cpio_list=$(mktemp ${TMPDIR:-/tmp}/cpiolist.XXXXXX) + output="/dev/stdout" +@@ -209,13 +209,13 @@ + shift + ;; + "-u") # map $1 to uid=0 (root) +- root_uid="$1" +- [ "$root_uid" = "-1" ] && root_uid=$(id -u || echo 0) ++# root_uid="$1" ++# [ "$root_uid" = "-1" ] && root_uid=$(id -u || echo 0) + shift + ;; + "-g") # map $1 to gid=0 (root) +- root_gid="$1" +- [ "$root_gid" = "-1" ] && root_gid=$(id -g || echo 0) ++# root_gid="$1" ++# [ "$root_gid" = "-1" ] && root_gid=$(id -g || echo 0) + shift + ;; + "-h") -- cgit v1.2.3