musl_root/pkgs/filesystem/build.sh

33 lines
540 B
Bash
Raw Normal View History

2018-11-10 00:42:27 +02:00
#!/bin/bash
pkgname="filesystem"
pkgver="0.0.1"
prepare () {
true
}
build () {
true
}
package () {
install -d "${pkgdir}"/dev
install -d "${pkgdir}"/proc
install -d "${pkgdir}"/sys
install -d "${pkgdir}"/etc
install -d "${pkgdir}"/usr
install -d "${pkgdir}"/usr/bin
install -d "${pkgdir}"/usr/sbin
install -d "${pkgdir}"/usr/lib
ln -s /usr/bin "${pkgdir}"/bin
ln -s /usr/bin "${pkgdir}"/sbin
ln -s /usr/bin "${pkgdir}"/usr/sbin
ln -s /usr/lib "${pkgdir}"/lib
}
. ../common.sh