busybox: mount: don't pass option "auto" to kernel
[opendreambox.git] / meta-opendreambox / recipes-core / busybox / busybox_1.19.4.bbappend
1 PR .= "-dream13"
2
3 SRC_URI += "file://busybox-telnetd.xinetd.in \
4             file://busybox-telnetd@.service \
5             file://busybox-telnetd.socket \
6             file://0001-ifupdown-support-post-up-pre-down-hooks.patch \
7             file://0002-ifupdown-code-shrink.patch \
8             file://0003-ifupdown-remove-interface-from-state_list-if-iface_u.patch \
9             file://0004-ifupdown-support-metric-for-static-default-gw.patch \
10             file://0005-ifupdown-improve-compatibility-with-Debian.patch \
11             file://0006-get_linux_version_code-don-t-fail-on-3.0-foo.patch \
12             file://0007-ifplugd-move-read_pid-to-libbb-pidfile.c-and-rename-.patch \
13             file://0008-ifupdown-dhcp_down-wait-until-udhcpc-has-been-killed.patch \
14             file://0009-udhcpc-calculate-broadcast-address-if-not-given-by-s.patch \
15             file://0010-udhcpc-obtain-hostname-from-OS-by-default.patch \
16             file://0011-mount-don-t-pass-option-auto-to-kernel.patch"
17
18 inherit systemd xinetd
19
20 do_install_append() {
21         if grep -q "CONFIG_CRONTAB=y" ${WORKDIR}/defconfig; then
22                 install -d ${D}${sysconfdir}/cron/crontabs
23         fi
24         install -d ${D}${systemd_unitdir}/system
25         ln -sf /dev/null ${D}${systemd_unitdir}/system/busybox-telnetd.service
26 }
27
28 FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"
29
30 SYSTEMD_PACKAGES += "${PN}-systemd"
31 SYSTEMD_SERVICE_${PN}-systemd = "busybox-telnetd.socket"
32
33 XINETD_PACKAGES = "${PN}-xinetd"
34 XINETD_SERVICE_${PN}-xinetd = "busybox-telnetd"