From d49a25bd5b86104a467646407adfbbac6c0c5055 Mon Sep 17 00:00:00 2001 From: xfnw Date: Fri, 30 Apr 2021 09:53:33 -0400 Subject: [PATCH 1/2] make directory for home --- bin/mkbusyroot | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/mkbusyroot b/bin/mkbusyroot index 26c220c..51e4265 100755 --- a/bin/mkbusyroot +++ b/bin/mkbusyroot @@ -8,6 +8,7 @@ pacstrap $TARGET busybox cd $TARGET ln -s bin usr/bin +mkdir -p home tee etc/passwd <<<'root:x:0:0::/root:/bin/sh' tee etc/group <<<'root:x:0:root' tee etc/profile <<<'export PS1="[\u@\h \W]\$ "' From 50f252526a14c34d2fb8bfc1187e9e965f0eddfe Mon Sep 17 00:00:00 2001 From: xfnw Date: Fri, 30 Apr 2021 09:57:24 -0400 Subject: [PATCH 2/2] aaaaaaa --- bin/mkbusyroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/mkbusyroot b/bin/mkbusyroot index 51e4265..f6b0583 100755 --- a/bin/mkbusyroot +++ b/bin/mkbusyroot @@ -7,7 +7,7 @@ pacstrap $TARGET busybox cd $TARGET -ln -s bin usr/bin +ln -s usr/bin bin mkdir -p home tee etc/passwd <<<'root:x:0:0::/root:/bin/sh' tee etc/group <<<'root:x:0:root'