musl_root/pkgs/filesystem/build.sh

33 lines
536 B
Bash
Executable File

#!/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