summary refs log tree commit diff
path: root/make-mewix-base
blob: ddf948494ce27a2173af920e2c7c759bf89a75e7 (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/pkg/user/etc

echo 'nameserver 8.8.8.8' >newroot/pkg/user/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