Skip to content

Commit

Permalink
change mdev to eudev
Browse files Browse the repository at this point in the history
  • Loading branch information
wte-chromium committed Dec 10, 2019
1 parent 4e0c2ab commit 20fcf11
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion meta-openpli/conf/distro/openpli.conf
Expand Up @@ -4,7 +4,7 @@

require openpli-common.conf

VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
VIRTUAL-RUNTIME_dev_manager = "eudev"
VIRTUAL-RUNTIME_login_manager = "busybox"
VIRTUAL-RUNTIME_init_manager = "sysvinit"
VIRTUAL-RUNTIME_initscripts = "initscripts"
7 changes: 1 addition & 6 deletions meta-openpli/recipes-core/busybox/busybox/defconfig
Expand Up @@ -615,12 +615,7 @@ CONFIG_IONICE=y
CONFIG_LOSETUP=y
CONFIG_LSPCI=y
CONFIG_LSUSB=y
CONFIG_MDEV=y
CONFIG_FEATURE_MDEV_CONF=y
CONFIG_FEATURE_MDEV_RENAME=y
CONFIG_FEATURE_MDEV_RENAME_REGEXP=y
CONFIG_FEATURE_MDEV_EXEC=y
CONFIG_FEATURE_MDEV_LOAD_FIRMWARE=y
# CONFIG_MDEV is not set
# CONFIG_MESG is not set
# CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP is not set
# CONFIG_MKE2FS is not set
Expand Down
4 changes: 1 addition & 3 deletions meta-openpli/recipes-core/busybox/busybox_1.29.%.bbappend
Expand Up @@ -15,7 +15,6 @@ SRC_URI_IGNORED += " \

SRC_URI += " \
file://mount_single_uuid.patch \
file://mdev-mount.sh \
file://inetd \
file://inetd.conf \
file://0001-Revert-ip-fix-ip-oneline-a.patch \
Expand Down Expand Up @@ -52,8 +51,7 @@ do_install_append() {
if grep -q "CONFIG_CRONTAB=y" ${WORKDIR}/defconfig; then
install -d ${D}${sysconfdir}/cron/crontabs
fi
install -d ${D}${sysconfdir}/mdev
install -m 0755 ${WORKDIR}/mdev-mount.sh ${D}${sysconfdir}/mdev
install -d ${D}${sysconfdir}
sed -i "/[/][s][h]*$/d" ${D}${sysconfdir}/busybox.links.nosuid
}

Expand Down
2 changes: 1 addition & 1 deletion meta-openpli/recipes-core/eudev/eudev_%.bbappend
Expand Up @@ -9,4 +9,4 @@ do_install_append() {

FILES_${PN} += " ${sysconfdir}/udev/rules.d/98-dbox-devices.rules "

INITSCRIPT_PARAMS_eudev = "stop 04 S ."
RDEPENDS_${PN} += " udev-extraconf"
1 change: 0 additions & 1 deletion meta-openpli/recipes-openpli/images/openpli-image.bb
Expand Up @@ -36,7 +36,6 @@ IMAGE_INSTALL = "\
sdparm \
tuxbox-common \
tzdata \
volatile-media \
vsftpd \
"

Expand Down

0 comments on commit 20fcf11

Please sign in to comment.