diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-16 14:14:48 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-16 14:17:11 +0000 |
commit | 5b3174f206ce3e65e911086ac09cfd1e86c3e46f (patch) | |
tree | 3b7da23c566d41e54e632c010b721f0f25516ab2 /main/busybox-initscripts/APKBUILD | |
parent | a3c1fbe8ae00e4dc4cd24356113f09eba8771b40 (diff) | |
download | aports-5b3174f206ce3e65e911086ac09cfd1e86c3e46f.tar.bz2 aports-5b3174f206ce3e65e911086ac09cfd1e86c3e46f.tar.xz |
main/busybox-initscripts: move udhcpc script from alpine-baselayout
Does not belong in the baselayout package
Diffstat (limited to 'main/busybox-initscripts/APKBUILD')
-rw-r--r-- | main/busybox-initscripts/APKBUILD | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/main/busybox-initscripts/APKBUILD b/main/busybox-initscripts/APKBUILD index 5d1ebdaf37..f676f2c4e7 100644 --- a/main/busybox-initscripts/APKBUILD +++ b/main/busybox-initscripts/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=busybox-initscripts pkgver=2.2 -pkgrel=2 +pkgrel=3 pkgdesc="Init scripts for busybox daemons" url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts" arch="noarch" @@ -11,13 +11,19 @@ depends="busybox" makedepends= install=$pkgname.post-install subpackages= +replaces="alpine-baselayout" source="acpid.initd cron.initd dnsd.initd httpd.initd inetd.initd klogd.initd mdev-mount.initd mdev.initd rdate.initd syslog.initd watchdog.initd cron.confd klogd.confd rdate.confd syslog.confd watchdog.confd mdev.conf dvbdev ide_links usbdev usbdisk_link xvd_links + default.script " build() { + return 0 +} + +package() { local i cd "$srcdir" @@ -38,6 +44,11 @@ build() { poweroff EOF chmod +x "$pkgdir"/etc/acpi/PWRF/00000080 + + # script for udhcpc + install -Dm755 "$srcdir"/default.script \ + "$pkgdir"/usr/share/udhcpc/default.script || return 1 + } md5sums="eba3eab9ace889088e01c6c9e80ae3db acpid.initd @@ -61,4 +72,5 @@ ad1556961294e4aa2abca6be52138b7c dvbdev 5c8725b4cbdeda23b00f08124a0d20bf ide_links c422992ca5bfdfabdbba1f1532bc1358 usbdev 30b0c85956b6701caf55309a17e537f6 usbdisk_link -826d85313ca7a4a0205d63bd58b7d01f xvd_links" +826d85313ca7a4a0205d63bd58b7d01f xvd_links +c92e18e9d47f4a2a6ca6b3a81ea2f838 default.script" |