summary refs log tree commit diff
path: root/make-mewix-base
blob: 31e9499d32953f7d572e74bd9c88eb409378ef4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

mkdir newroot

mkdir -p newroot/pkg

mkdir -p newroot/etc
echo 'nameserver 8.8.8.8' >newroot/etc/resolv.conf

ln -s usr/bin newroot/bin
ln -s usr/lib newroot/lib
ln -s usr/lib newroot/lib64

mkdir -p newroot/pkg/chroot/s6-update-symlinks/0/usr/bin
cp KEEP/s6-update-symlinks.static newroot/pkg/chroot/s6-update-symlinks/0/usr/bin/s6-update-symlinks