33 lines
540 B
Bash
33 lines
540 B
Bash
|
#!/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
|