mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-07 02:44:25 +02:00
main/busybox: extract inline files
This commit is contained in:
parent
47057a9442
commit
d1ca317900
3 changed files with 34 additions and 31 deletions
main/busybox
|
@ -97,6 +97,8 @@ source="https://busybox.net/downloads/busybox-$pkgver.tar.bz2
|
|||
ssl_client.c
|
||||
default.script
|
||||
udhcpc.conf
|
||||
securetty
|
||||
acpid-poweroff.sh
|
||||
$_openrc_files
|
||||
$_mdev_openrc_files
|
||||
$_extras_openrc_files
|
||||
|
@ -252,33 +254,7 @@ package() {
|
|||
"$pkgdir/etc/logrotate.d/acpid"
|
||||
|
||||
install -Dm644 "$srcdir"/udhcpc.conf "$pkgdir"/etc/udhcpc/udhcpc.conf
|
||||
install -Dm644 /dev/stdin "$pkgdir"/etc/securetty <<EOF
|
||||
console
|
||||
tty0
|
||||
tty1
|
||||
tty2
|
||||
tty3
|
||||
tty4
|
||||
tty5
|
||||
tty6
|
||||
tty7
|
||||
tty8
|
||||
tty9
|
||||
tty10
|
||||
tty11
|
||||
hvc0
|
||||
ttyS0
|
||||
ttyS1
|
||||
ttyS2
|
||||
ttyGS0
|
||||
ttyAMA0
|
||||
ttyAMA1
|
||||
ttyTCU0
|
||||
ttyTHS0
|
||||
ttyTHS1
|
||||
ttymxc0
|
||||
ttymxc2
|
||||
EOF
|
||||
install -Dm644 "$srcdir"/securetty "$pkgdir"/etc/securetty
|
||||
|
||||
# script for udhcpc
|
||||
install -Dm755 "$srcdir"/default.script \
|
||||
|
@ -369,11 +345,9 @@ openrc() {
|
|||
depends="openrc>=0.24.1-r6"
|
||||
replaces="openntpd busybox-initscripts acpid-openrc"
|
||||
_helper_openrc $_openrc_files
|
||||
|
||||
# poweroff script for acpid
|
||||
install -Dm755 /dev/stdin "$subpkgdir"/etc/acpi/PWRF/00000080 <<EOF
|
||||
#!/bin/sh
|
||||
poweroff
|
||||
EOF
|
||||
install -Dm755 "$srcdir"/acpid-poweroff.sh "$subpkgdir"/etc/acpi/PWRF/00000080
|
||||
}
|
||||
|
||||
mdev_openrc() {
|
||||
|
@ -439,6 +413,8 @@ afc27da5f95bec3e3ccb5b1fcb5bd80a8317d8753e6c70cc0750d0875313e44bf2e487472c8499d7
|
|||
1c7c78afb274d1316725b22585452efd7de9a80ad326f099f25e34d0877c5d81ced579e2dc795314221e316f58071374f61ee22c6ffd34072266525f65d3614c ssl_client.c
|
||||
e56f9d74f7d471893ff9c3fde319b989e1854c9b12f06c1b6739694b07165ae256b5c555bc75c92986265df7f0a276001aba73853855c7a0fb3404a091a92c86 default.script
|
||||
5f9ff70f99a970e88460c0de81a6637d8a82252fba6715e259833f16ed8cbfc3440972b1fa454eb77dbbcd1e244774c96b4eef96f71a2b67a9039a0dd5e6fc1e udhcpc.conf
|
||||
38d6ce0dfff65ce7ec644f5d7aca70de943f4d5fb8820c772f5d945926b678de280f19831d3f3d0dc0dcda16812841748b57eaa745b784a5e216a59657afbd71 securetty
|
||||
95187d7f4f91a1be353d9c5922238da6ff1f688a1a7366678c10163c683ba7fd82b3fecc71e86e04197aa322322e0152a3cf86b4ceca19dd04e9a9c763fede2f acpid-poweroff.sh
|
||||
fcb532233fd7ba8cad302d037b88cff00ee8b96b37c90b34fc823479208cf7cdda48818c972ce2c4703b7283fd58e99ba8a724818f884f3b09eaa7e2d6ffad21 acpid.initd
|
||||
34c6f3197064bb91619b899b28a201bd4d920b18bded3845440b2cb36dc6f16cabf447c96878349b16e46c30184cbe48bac00a01c5f7cf1be038c0b7136064c5 crond.confd
|
||||
0e8266b1bf1d533de7531f32b27c815db00378df6e9ee98232ba3b9cb4f3e1770db65290d338ac0745aca52dd99c3c128dde3fa81ed110dd02c4a298a2f62b1b crond.initd
|
||||
|
|
2
main/busybox/acpid-poweroff.sh
Normal file
2
main/busybox/acpid-poweroff.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
poweroff
|
25
main/busybox/securetty
Normal file
25
main/busybox/securetty
Normal file
|
@ -0,0 +1,25 @@
|
|||
console
|
||||
tty0
|
||||
tty1
|
||||
tty2
|
||||
tty3
|
||||
tty4
|
||||
tty5
|
||||
tty6
|
||||
tty7
|
||||
tty8
|
||||
tty9
|
||||
tty10
|
||||
tty11
|
||||
hvc0
|
||||
ttyS0
|
||||
ttyS1
|
||||
ttyS2
|
||||
ttyGS0
|
||||
ttyAMA0
|
||||
ttyAMA1
|
||||
ttyTCU0
|
||||
ttyTHS0
|
||||
ttyTHS1
|
||||
ttymxc0
|
||||
ttymxc2
|
Loading…
Add table
Add a link
Reference in a new issue