Compare commits
1 commit
ad62856703
...
033c04b218
Author | SHA1 | Date | |
---|---|---|---|
033c04b218 |
2 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,12 @@
|
|||
set -ex -o pipefail
|
||||
|
||||
mkdir -p $out
|
||||
mkdir -p $out/etc $out/dev $out/proc $out/sys $out/tmp $out/root
|
||||
ln -sf ../usr/bin $out/bin
|
||||
ln -sf ../usr/bin $out/sbin
|
||||
ln -sf ../usr/lib $out/lib
|
||||
ln -sf ../usr/lib $out/lib64
|
||||
ln -sf ../proc/self/mounts $out/etc/mtab
|
||||
|
||||
### install systemd
|
||||
echo "Installing systemd"
|
||||
|
|
|
@ -21,12 +21,6 @@ pkgs.writeShellApplication {
|
|||
find . -type d -exec chmod 755 {} \;
|
||||
|
||||
### create directories
|
||||
mkdir -p etc dev proc sys tmp root
|
||||
ln -sf usr/bin bin
|
||||
ln -sf usr/bin sbin
|
||||
ln -sf usr/lib lib
|
||||
ln -sf usr/lib lib64
|
||||
ln -sf ../proc/self/mounts etc/mtab
|
||||
ln -sf ../usr/lib/systemd/systemd init
|
||||
|
||||
# set default target to basic
|
||||
|
|
Loading…
Add table
Reference in a new issue