CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
wget: disabled rpath. Thanks j_v
[crossrootfs.git] / rc / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: BSD-like init-scripts
2# URL: http://crux.nu
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5
6name=rc
b5252367 7version=2.29
4dd86946 8release=1
6dca1d21
JB
9source=(inittab rc rc.modules rc.single rc.multi rc.local rc.fix rc.shutdown rc.conf)
10
11build() {
12 mkdir -p $PKG/etc/rc.d
13 install -m 644 inittab $PKG/etc
14 install -m 755 rc $PKG/etc
15 install -m 755 rc.modules $PKG/etc
16 install -m 755 rc.single $PKG/etc
17 install -m 755 rc.multi $PKG/etc
18 install -m 755 rc.local $PKG/etc
19 install -m 755 rc.fix $PKG/etc
20 install -m 755 rc.shutdown $PKG/etc
21 install -m 644 rc.conf $PKG/etc
22 mkdir -p $PKG/var/log $PKG/var/lib/urandom
23 touch $PKG/var/log/boot $PKG/var/lib/urandom/seed
24 chmod 640 $PKG/var/log/boot $PKG/var/lib/urandom/seed
25}