summary refs log tree commit diff
path: root/make-mewix-base
blob: 4c91d4929528eaeea3be3e071b015b2a487bc89a (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/a/s6-update-symlinks/0/usr/bin
cp KEEP/s6-update-symlinks.static newroot/pkg/a/s6-update-symlinks/0/usr/bin/s6-update-symlinks