Browse Source

fix ipkg and ipkg tools, consolidate mdev.conf

cpio under macosx or bsd creates tar archives via
stdin while using find . with leading ./.
heirloom cpio shipped with OpenADK does remove the
leading ./. Adopt ipkg busybox applet to work
without ./. Fix ipkg-build to be faster and to use
included cpio for inner tar creation.

Dependency to GNU tar can now be dropped.
Waldemar Brodkorb 10 years ago
parent
commit
d973019721

+ 4 - 4
mk/image.mk

@@ -52,17 +52,17 @@ endif
 ${BIN_DIR}/${ROOTFSTARBALL}: ${TARGET_DIR} kernel-package
 	cd ${TARGET_DIR}; find . | sed -n '/^\.\//s///p' | \
 		sed "s#\(.*\)#:0:0::::::\1#" | sort | \
-		${TOPDIR}/bin/tools/cpio -o -Hustar -P | gzip -n9 >$@
+		${TOOLS_DIR}/cpio -o -Hustar -P | gzip -n9 >$@
 
 ${BIN_DIR}/${ROOTFSUSERTARBALL}: ${TARGET_DIR}
 	cd ${TARGET_DIR}; find . | grep -v ./boot | sed -n '/^\.\//s///p' | \
 		sed "s#\(.*\)#:0:0::::::\1#" | sort | \
-		${TOPDIR}/bin/tools/cpio -o -Hustar -P | gzip -n9 >$@
+		${TOOLS_DIR}/cpio -o -Hustar -P | gzip -n9 >$@
 
 ${BIN_DIR}/${INITRAMFS}: ${TARGET_DIR}
 	cd ${TARGET_DIR}; find . | sed -n '/^\.\//s///p' | \
 		sed "s#\(.*\)#:0:0::::::\1#" | sort | \
-	    ${TOPDIR}/bin/tools/cpio -o -C512 -Hnewc -P | \
+	    ${TOOLS_DIR}/cpio -o -C512 -Hnewc -P | \
 		${ADK_COMPRESSION_TOOL} >$@ 2>/dev/null
 
 ${BUILD_DIR}/${INITRAMFS_PIGGYBACK}: ${TARGET_DIR}
@@ -70,7 +70,7 @@ ${BUILD_DIR}/${INITRAMFS_PIGGYBACK}: ${TARGET_DIR}
 		$(LINUX_DIR)/.config
 	cd ${TARGET_DIR}; find . | sed -n '/^\.\//s///p' | \
 		sed "s#\(.*\)#:0:0::::::\1#" | sort | \
-	    ${TOPDIR}/bin/tools/cpio -o -C512 -Hnewc -P >$@ 2>/dev/null
+	    ${TOOLS_DIR}/cpio -o -C512 -Hnewc -P >$@ 2>/dev/null
 
 ${BIN_DIR}/${ROOTFSSQUASHFS}: ${TARGET_DIR}
 	${STAGING_TOOLS}/bin/mksquashfs ${TARGET_DIR} \

+ 4 - 2
mk/vars.mk

@@ -31,6 +31,7 @@ STAGING_DIR:=		${STAGING_PARENT}/target
 TOOLCHAIN_BUILD_DIR=	$(BASE_DIR)/toolchain_build_${ADK_TARGET}_${ADK_LIBC}
 TOOLCHAIN_BUILD_DIR_PFX=$(BASE_DIR)/toolchain_build_*
 TOOLS_BUILD_DIR=	$(BASE_DIR)/tools_build
+TOOLS_DIR:=		$(BASE_DIR)/bin/tools
 SCRIPT_DIR:=		$(BASE_DIR)/scripts
 ifeq ($(ADK_HW),)
 BIN_DIR:=		$(BASE_DIR)/bin/${ADK_TARGET}_${ADK_LIBC}
@@ -45,7 +46,7 @@ else
 TARGET_DIR:=		$(BASE_DIR)/root_${ADK_HW}_${ADK_TARGET}_${ADK_LIBC}
 endif
 TARGET_DIR_PFX:=	$(BASE_DIR)/root_*
-TARGET_PATH=		${SCRIPT_DIR}:${STAGING_TOOLS}/bin:${STAGING_DIR}/scripts:${_PATH}
+TARGET_PATH=		${SCRIPT_DIR}:${TOOLS_DIR}:${STAGING_TOOLS}/bin:${STAGING_DIR}/scripts:${_PATH}
 REAL_GNU_TARGET_NAME=	$(CPU_ARCH)-$(ADK_VENDOR)-linux-$(ADK_TARGET_SUFFIX)
 GNU_TARGET_NAME=	$(CPU_ARCH)-$(ADK_VENDOR)-linux
 TOOLCHAIN_SYSROOT:=	$(TOOLCHAIN_BUILD_DIR)/libc_dev
@@ -85,7 +86,8 @@ HOST_CONFIGURE_OPTS=	CC_FOR_BUILD='${HOSTCC}' \
 PKG_SUFFIX:=		$(strip $(subst ",, $(ADK_PACKAGE_SUFFIX)))
 
 ifeq ($(ADK_TARGET_PACKAGE_IPKG),y)
-PKG_BUILD:=		${BASH} ${SCRIPT_DIR}/ipkg-build -c
+PKG_BUILD:=		PATH='${TARGET_PATH}' \
+			${BASH} ${SCRIPT_DIR}/ipkg-build
 PKG_INSTALL:=		IPKG_TMP=$(BUILD_DIR)/tmp \
 			IPKG_INSTROOT=$(TARGET_DIR) \
 			IPKG_CONF_DIR=$(STAGING_DIR)/etc \

+ 2 - 8
package/base-files/Makefile

@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
 
 PKG_NAME:=		base-files
 PKG_VERSION:=		1.0
-PKG_RELEASE:=		34
+PKG_RELEASE:=		35
 PKG_SECTION:=		base
 PKG_DESCR:=		basic files and scripts
 
@@ -43,18 +43,12 @@ endif
 ifneq (${ADK_PACKAGE_ZSH},)
 	echo /bin/zsh >>${IDIR_BASE_FILES}/etc/shells
 endif
-	mkdir -p $(IDIR_BASE_FILES)/dev
-	mkdir -p $(IDIR_BASE_FILES)/boot
-	mkdir -p $(IDIR_BASE_FILES)/root
-	mkdir -p $(IDIR_BASE_FILES)/sys
+	mkdir -p $(IDIR_BASE_FILES)/{dev,boot,root,sys,proc,tmp,mnt}
 	mkdir -p $(IDIR_BASE_FILES)/etc/crontabs
 	mkdir -p $(IDIR_BASE_FILES)/etc/network/if-pre-up.d
 	mkdir -p $(IDIR_BASE_FILES)/etc/network/if-up.d
 	mkdir -p $(IDIR_BASE_FILES)/etc/network/if-down.d
 	mkdir -p $(IDIR_BASE_FILES)/etc/network/if-post-down.d
-	mkdir -p $(IDIR_BASE_FILES)/mnt
-	mkdir -p $(IDIR_BASE_FILES)/proc
-	mkdir -p $(IDIR_BASE_FILES)/tmp
 	mkdir -p $(IDIR_BASE_FILES)/usr/lib
 	mkdir -p $(IDIR_BASE_FILES)/usr/bin
 	chmod 755 $(IDIR_BASE_FILES)/lib/mdev/init

+ 11 - 4
package/base-files/src/etc/mdev.conf

@@ -1,11 +1,18 @@
+rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
+device-mapper 0:0 660 @mkdir /dev/mapper
 tun 0:0 660 >net/tun
 null 0:0 777
 zero 0:0 666
+u?random 0:0 644
 console 0:0 0600
-kmem 0:0 000
-mem 0:0 0640
-port 0:0 0640
 ptmx 0:0 666
-tty 0:0 0666
+tty 0:0 666
 ttyS* 0:0 640
+audio root:audio 660 >snd/audio
+dsp root:audio 660 >snd/dsp
+timer root:audio 660 >snd/timer
+controlC0 root:audio 660 >snd/controlC0
+pcmC0D0c root:audio 660 >snd/pcmC0D0c
+pcmC0D0p root:audio 660 >snd/pcmC0D0p
+msr0 root:root 660 @(mkdir -p /dev/cpu/0 && ln -sf /dev/msr0 /dev/cpu/0/msr)
 .* 0:0 644 @/lib/mdev/init

+ 1 - 1
package/busybox/Makefile

@@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		busybox
 PKG_VERSION:=		1.17.2
-PKG_RELEASE:=		4
+PKG_RELEASE:=		5
 PKG_MD5SUM:=		7360b7138b899ee7fc885791c740c3c3
 PKG_DESCR:=		Core utilities for embedded systems
 PKG_SECTION:=		base

File diff suppressed because it is too large
+ 609 - 609
package/busybox/patches/001-ipkg.patch


+ 29 - 0
package/pm-utils/Makefile

@@ -0,0 +1,29 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=		pm-utils
+PKG_VERSION:=		1.4.1
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		1742a556089c36c3a89eb1b957da5a60
+PKG_DESCR:=		Power Management Utilities
+PKG_SECTION:=		utils
+PKG_URL:=		http://pm-utils.freedesktop.org/
+PKG_SITES:=		http://pm-utils.freedesktop.org/releases/
+
+PKG_CFLINE_PM_UTILS:=	select BUSYBOX_FLOCK
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,PM_UTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+post-install:
+	$(INSTALL_DIR) $(IDIR_PM_UTILS)/usr/lib
+	$(CP) $(WRKINST)/usr/lib/pm-utils \
+		 $(IDIR_PM_UTILS)/usr/lib
+	$(INSTALL_DIR) $(IDIR_PM_UTILS)/usr/sbin
+	$(CP) $(WRKINST)/usr/sbin/pm-* \
+		$(IDIR_PM_UTILS)/usr/sbin
+
+include ${TOPDIR}/mk/pkg-bottom.mk

+ 13 - 44
scripts/ipkg-build

@@ -1,12 +1,9 @@
 #!/usr/bin/env bash
-
 # ipkg-build -- construct a .ipk from a directory
+# Waldemar Brodkorb <wbx@openadk.org>
+# use cpio instead of tar for uid/gid handling
 # Carl Worth <cworth@east.isi.edu>
-# based on a script by Steve Redler IV, steve@sr-tech.com 5-21-2001
-# 2003-04-25 rea@sr.unh.edu
-#   Updated to work on Familiar Pre0.7rc1, with busybox tar.
-#   Note it Requires: binutils-ar (since the busybox ar can't create)
-#   For UID debugging it needs a better "find".
+# based on a script by Steve Redler IV <steve@sr-tech.com>
 set -e
 
 version=1.0
@@ -47,19 +44,6 @@ pkg_appears_sane() {
 
 	PKG_ERROR=0
 
-	cvs_dirs=`find . -name 'CVS'`
-	if [ -n "$cvs_dirs" ]; then
-	    if [ "$noclean" = "1" ]; then
-		echo "*** Warning: The following CVS directories where found.
-You probably want to remove them: " >&2
-		ls -ld $cvs_dirs
-		echo >&2
-	    else
-		echo "*** Removing the following files: $cvs_dirs"
-		rm -rf "$cvs_dirs"
-	    fi
-	fi
-
 	tilde_files=`find . -name '*~'`
 	if [ -n "$tilde_files" ]; then
 	    if [ "$noclean" = "1" ]; then
@@ -162,20 +146,10 @@ You probably want to remove them: " >&2
 ###
 # ipkg-build "main"
 ###
-ogargs=""
-outer=ar
 noclean=0
-usage="Usage: $0 [-c] [-C] [-o owner] [-g group] <pkg_directory> [<destination_directory>]"
-while getopts "cg:ho:v" opt; do
+usage="Usage: $0 [-C] <pkg_directory> [<destination_directory>]"
+while getopts ":h:v" opt; do
     case $opt in
-	o ) owner=$OPTARG
-	    ogargs="--owner=$owner"
-	    ;;
-	g ) group=$OPTARG
-	    ogargs="$ogargs --group=$group"
-	    ;;
-        c ) outer=tar
-            ;;
         C ) noclean=1
             ;;
 	v ) echo $version
@@ -186,7 +160,6 @@ while getopts "cg:ho:v" opt; do
 	esac
 done
 
-
 shift $(($OPTIND - 1))
 
 # continue on to process additional arguments
@@ -232,22 +205,18 @@ fi
 tmp_dir=$dest_dir/IPKG_BUILD.$$
 mkdir $tmp_dir
 
-echo $CONTROL > $tmp_dir/tarX
-( cd $pkg_dir && tar $ogargs -X $tmp_dir/tarX -czf $tmp_dir/data.tar.gz . )
-( cd $pkg_dir/$CONTROL && tar $ogargs -czf $tmp_dir/control.tar.gz . )
-rm $tmp_dir/tarX
+( cd $pkg_dir && find . | grep -v $CONTROL | \
+	sed "s#\(.*\)#:0:0::::::\1#" | \
+	sort | cpio -o -Hustar -P | gzip -n9 > $tmp_dir/data.tar.gz )
 
-echo "2.0" > $tmp_dir/debian-binary
+( cd $pkg_dir/$CONTROL && find . | \
+	sed "s#\(.*\)#:0:0::::::\1#" | \
+	sort | cpio -o -Hustar -P | gzip -n9 > $tmp_dir/control.tar.gz )
 
+echo "2.0" > $tmp_dir/debian-binary
 pkg_file=$dest_dir/${pkg}_${version}_${arch}.ipk
 rm -f $pkg_file
-if [ "$outer" = "ar" ] ; then
-  ( cd $tmp_dir && ar -crf $pkg_file ./debian-binary ./data.tar.gz ./control.tar.gz )
-else
-  ( cd $tmp_dir && tar -zcf $pkg_file ./debian-binary ./data.tar.gz ./control.tar.gz )
-fi
-
+( cd $tmp_dir && tar -zcf $pkg_file ./debian-binary ./data.tar.gz ./control.tar.gz )
 rm $tmp_dir/debian-binary $tmp_dir/data.tar.gz $tmp_dir/control.tar.gz
 rmdir $tmp_dir
-
 echo "Packaged contents of $pkg_dir into $pkg_file"

+ 2 - 2
scripts/ipkg-make-index.sh

@@ -3,7 +3,7 @@ set -e
 pkg_dir=$1
 
 if [[ -z $pkg_dir || ! -d $pkg_dir ]]; then
-	echo "Usage: ipkg-make-index <package_directory>"
+	echo "Usage: ipkg-make-index.sh <package_directory>"
 	exit 1
 fi
 
@@ -13,7 +13,7 @@ find "$pkg_dir" -name '*.ipk' | sort | while IFS= read pkg; do
 	file_size=$(ls -l $pkg | awk '{print $5}')
 	md5sum=$(md5sum $pkg)
 	tar -xzOf "$pkg" ./control.tar.gz | \
-	    tar -xzOf - ./control | \
+	    tar -xzOf - control | \
 	    sed -e "s^Description:Filename: $dpkg\\
 Size: $file_size\\
 MD5Sum: ${md5sum%% *}\\

+ 0 - 10
target/ag241/files/etc/mdev.conf

@@ -1,10 +0,0 @@
-tun 0:0 660 >net/tun
-device-mapper 0:0 660 @mkdir /dev/mapper
-null 0:0 777
-zero 0:0 666
-u?random 0:0 644
-console 0:0 0600
-ptmx 0:0 666
-tty 0:0 666
-ttyS* 0:0 640
-.* 0:0 644 @/lib/mdev/init

+ 0 - 18
target/alix/files/etc/mdev.conf

@@ -1,18 +0,0 @@
-rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
-device-mapper 0:0 660 @mkdir /dev/mapper
-tun 0:0 660 >net/tun
-null 0:0 777
-zero 0:0 666
-u?random 0:0 644
-console 0:0 0600
-ptmx 0:0 666
-tty 0:0 666
-ttyS* 0:0 640
-audio root:audio 660 >snd/audio
-dsp root:audio 660 >snd/dsp
-timer root:audio 660 >snd/timer
-controlC0 root:audio 660 >snd/controlC0
-pcmC0D0c root:audio 660 >snd/pcmC0D0c
-pcmC0D0p root:audio 660 >snd/pcmC0D0p
-msr0 root:root 660 @(mkdir -p /dev/cpu/0 && ln -sf /dev/msr0 /dev/cpu/0/msr)
-.* 0:0 644 @/lib/mdev/init

+ 0 - 11
target/brcm/files/etc/mdev.conf

@@ -1,11 +0,0 @@
-rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
-tun 0:0 660 >net/tun
-device-mapper 0:0 660 @mkdir /dev/mapper
-null 0:0 777
-zero 0:0 666
-u?random 0:0 644
-console 0:0 0600
-ptmx 0:0 666
-tty 0:0 666
-ttyS* 0:0 640
-.* 0:0 644 @/lib/mdev/init

+ 0 - 10
target/foxboard/files/etc/mdev.conf

@@ -1,10 +0,0 @@
-null 0:0 777
-zero 0:0 666
-console 0:0 0600
-u?random 0:0 644
-ptmx 0:0 666
-tty 0:0 666
-ttyS* 0:0 640
-device-mapper 0:0 660 @mkdir /dev/mapper
-tun 0:0 660 >net/tun
-.* 0:0 644 @/lib/mdev/init

+ 0 - 16
target/foxg20/files/etc/mdev.conf

@@ -1,16 +0,0 @@
-null 0:0 777
-zero 0:0 666
-console 0:0 0600
-u?random 0:0 644
-ptmx 0:0 666
-tty 0:0 666
-ttyS* 0:0 640
-device-mapper 0:0 660 @mkdir /dev/mapper
-tun 0:0 660 >net/tun
-audio root:audio 660 >snd/audio
-dsp root:audio 660 >snd/dsp
-timer root:audio 660 >snd/timer
-controlC0 root:audio 660 >snd/controlC0
-pcmC0D0c root:audio 660 >snd/pcmC0D0c
-pcmC0D0p root:audio 660 >snd/pcmC0D0p
-.* 0:0 644 @/lib/mdev/init

+ 7 - 12
target/linux/config/Config.in.multimedia

@@ -5,10 +5,6 @@ config ADK_KERNEL_MEDIA_SUPPORT
 	boolean
 	default n
 
-config ADK_KERNEL_SND_AC97_CODEC
-	boolean
-	default n
-
 config ADK_KERNEL_SND_TIMER
 	boolean
 	default n
@@ -44,7 +40,14 @@ config ADK_KPACKAGE_KMOD_SND_RAWMIDI
 	default n
 	help
 
+config ADK_KPACKAGE_KMOD_SND_AC97_CODEC
+	tristate
+	default n
+	help
+	 ALSA AC97 codec support.
+
 menu "Audio devices support"
+
 config ADK_KPACKAGE_KMOD_SND
 	prompt "kmod-snd...................... ALSA sound support"
 	tristate
@@ -68,14 +71,6 @@ config ADK_KPACKAGE_KMOD_SND_OSSEMUL
 	help
 	 ALSA OSS Emulation
 
-config ADK_KPACKAGE_KMOD_SND_AC97_CODEC
-	prompt "kmod-snd-ac97-codec........... ALSA AC97 codec"
-	tristate
-	depends on !(ADK_LINUX_CRIS_FOXBOARD || ADK_LINUX_ARM_FOXG20 )
-	default n
-	help
-	 ALSA AC97 codec support.
-
 config ADK_KPACKAGE_KMOD_SND_INTEL8X0
 	prompt "kmod-snd-intel8x0............. Intel AC97 driver"
 	tristate

+ 9 - 0
target/linux/config/Config.in.pm

@@ -40,4 +40,13 @@ config ADK_HARDWARE_ACPI
 	help
 	 Enable ACPI support.
 
+config ADK_KERNEL_SUSPEND
+	prompt "Enable Suspend support"
+	boolean
+	select ADK_KERNEL_PM
+	default y if ADK_HARDWARE_IBM_X40
+	default n
+	help
+	  Enable Suspend-to-RAM and Suspend-to-Disk support.
+
 endmenu

+ 0 - 11
target/mips/files/etc/mdev.conf

@@ -1,11 +0,0 @@
-rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
-tun 0:0 660 >net/tun
-device-mapper 0:0 660 @mkdir /dev/mapper
-null 0:0 777
-zero 0:0 666
-u?random 0:0 644
-console 0:0 0600
-ptmx 0:0 666
-tty 0:0 666
-ttyS* 0:0 640
-.* 0:0 644 @/lib/mdev/init

+ 0 - 11
target/mips64/files/etc/mdev.conf

@@ -1,11 +0,0 @@
-rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
-tun 0:0 660 >net/tun
-device-mapper 0:0 660 @mkdir /dev/mapper
-null 0:0 777
-zero 0:0 666
-u?random 0:0 644
-console 0:0 0600
-ptmx 0:0 666
-tty 0:0 666
-ttyS* 0:0 640
-.* 0:0 644 @/lib/mdev/init

+ 0 - 11
target/mips64el/files/etc/mdev.conf

@@ -1,11 +0,0 @@
-rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
-tun 0:0 660 >net/tun
-device-mapper 0:0 660 @mkdir /dev/mapper
-null 0:0 777
-zero 0:0 666
-u?random 0:0 644
-console 0:0 0600
-ptmx 0:0 666
-tty 0:0 666
-ttyS* 0:0 640
-.* 0:0 644 @/lib/mdev/init

+ 0 - 11
target/mipsel/files/etc/mdev.conf

@@ -1,11 +0,0 @@
-rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
-tun 0:0 660 >net/tun
-device-mapper 0:0 660 @mkdir /dev/mapper
-null 0:0 777
-zero 0:0 666
-u?random 0:0 644
-console 0:0 0600
-ptmx 0:0 666
-tty 0:0 666
-ttyS* 0:0 640
-.* 0:0 644 @/lib/mdev/init

+ 0 - 20
target/native/files/etc/mdev.conf

@@ -1,20 +0,0 @@
-rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
-device-mapper 0:0 660 @mkdir /dev/mapper
-tun 0:0 660 >net/tun
-null 0:0 777
-zero 0:0 666
-u?random 0:0 644
-console 0:0 0600
-kmem 0:0 000
-mem 0:0 0640
-port 0:0 0640
-ptmx 0:0 666
-tty 0:0 0666
-ttyS* 0:0 640
-audio root:audio 660 >snd/audio
-dsp root:audio 660 >snd/dsp
-timer root:audio 660 >snd/timer
-controlC0 root:audio 660 >snd/controlC0
-pcmC0D0c root:audio 660 >snd/pcmC0D0c
-pcmC0D0p root:audio 660 >snd/pcmC0D0p
-.* 0:0 644 @/lib/mdev/init

+ 0 - 10
target/rb4xx/files/etc/mdev.conf

@@ -1,10 +0,0 @@
-device-mapper 0:0 660 @mkdir /dev/mapper
-tun 0:0 660 >net/tun
-null 0:0 777
-zero 0:0 666
-u?random 0:0 644
-console 0:0 0600
-ptmx 0:0 666
-tty 0:0 666
-ttyS* 0:0 640
-.* 0:0 644 @/lib/mdev/init

+ 0 - 11
target/rb532/files/etc/mdev.conf

@@ -1,11 +0,0 @@
-rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
-tun 0:0 660 >net/tun
-device-mapper 0:0 660 @mkdir /dev/mapper
-null 0:0 777
-zero 0:0 666
-u?random 0:0 644
-console 0:0 0600
-ptmx 0:0 666
-tty 0:0 666
-ttyS* 0:0 640
-.* 0:0 644 @/lib/mdev/init

+ 0 - 11
target/wrap/files/etc/mdev.conf

@@ -1,11 +0,0 @@
-device-mapper 0:0 660 @mkdir /dev/mapper
-tun 0:0 660 >net/tun
-null 0:0 777
-zero 0:0 666
-u?random 0:0 644
-console 0:0 0600
-ptmx 0:0 666
-tty 0:0 666
-ttyS* 0:0 640
-msr0 root:root 660 @(mkdir -p /dev/cpu/0 && ln -sf /dev/msr0 /dev/cpu/0/msr)
-.* 0:0 644 @/lib/mdev/init

+ 0 - 20
target/x86/files/etc/mdev.conf

@@ -1,20 +0,0 @@
-rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
-device-mapper 0:0 660 @mkdir /dev/mapper
-tun 0:0 660 >net/tun
-null 0:0 777
-zero 0:0 666
-u?random 0:0 644
-console 0:0 0600
-kmem 0:0 000
-mem 0:0 0640
-port 0:0 0640
-ptmx 0:0 666
-tty 0:0 0666
-ttyS* 0:0 640
-audio root:audio 660 >snd/audio
-dsp root:audio 660 >snd/dsp
-timer root:audio 660 >snd/timer
-controlC0 root:audio 660 >snd/controlC0
-pcmC0D0c root:audio 660 >snd/pcmC0D0c
-pcmC0D0p root:audio 660 >snd/pcmC0D0p
-.* 0:0 644 @/lib/mdev/init

+ 0 - 20
target/x86_64/files/etc/mdev.conf

@@ -1,20 +0,0 @@
-rtc0 root:root 660 @ln -sf /dev/rtc0 /dev/rtc
-device-mapper 0:0 660 @mkdir /dev/mapper
-tun 0:0 660 >net/tun
-null 0:0 777
-zero 0:0 666
-u?random 0:0 644
-console 0:0 0600
-kmem 0:0 000
-mem 0:0 0640
-port 0:0 0640
-ptmx 0:0 666
-tty 0:0 0666
-ttyS* 0:0 640
-audio root:audio 660 >snd/audio
-dsp root:audio 660 >snd/dsp
-timer root:audio 660 >snd/timer
-controlC0 root:audio 660 >snd/controlC0
-pcmC0D0c root:audio 660 >snd/pcmC0D0c
-pcmC0D0p root:audio 660 >snd/pcmC0D0p
-.* 0:0 644 @/lib/mdev/init