[packages] alsa: add audio group in postinstall (#8755)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@26042 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c1d2e29ad6
commit
e39a985f5f
@ -26,6 +26,11 @@ define KernelPackage/alsa
|
|||||||
AUTOLOAD=$(call AutoLoad,70,$(shell cat ./files/alsa.modules))
|
AUTOLOAD=$(call AutoLoad,70,$(shell cat ./files/alsa.modules))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define KernelPackage/alsa/postinst
|
||||||
|
grep -qs "^audio:" "$$IPKG_INSTROOT/etc/group" || echo "audio:x:29:" >> "$$IPKG_INSTROOT/etc/group"
|
||||||
|
exit 0
|
||||||
|
endef
|
||||||
|
|
||||||
ifeq ($(KERNEL),2.4)
|
ifeq ($(KERNEL),2.4)
|
||||||
ifeq ($(LINUX_KARCH),i386)
|
ifeq ($(LINUX_KARCH),i386)
|
||||||
KERNEL_C_OPTS:= -Os -mpreferred-stack-boundary=2 -march=i486 -fno-unit-at-a-time
|
KERNEL_C_OPTS:= -Os -mpreferred-stack-boundary=2 -march=i486 -fno-unit-at-a-time
|
||||||
|
Loading…
x
Reference in New Issue
Block a user