Add pulseaudio + fix some service stating error due to readonly fs
This commit is contained in:
@@ -15,7 +15,7 @@ LAYERSERIES_COMPAT_meta-diya = "walnascar"
|
||||
PACKAGE_CLASSES = "package_ipk"
|
||||
INHERIT += " rm_work "
|
||||
|
||||
DISTRO_FEATURES:append := " opengl pam systemd usrmerge ppp usbgadget wifi vulkan "
|
||||
DISTRO_FEATURES:append := " opengl pam systemd usrmerge ppp usbgadget wifi vulkan alsa pulseaudio "
|
||||
DISTRO_FEATURES:remove = " x11 ptest sysvinit "
|
||||
DISTRO_FEATURES_BACKFILL_CONSIDERED += " sysvinit "
|
||||
VIRTUAL-RUNTIME_init_manager = "systemd"
|
||||
|
||||
@@ -50,6 +50,15 @@ IMAGE_INSTALL:append = "kernel-modules \
|
||||
coreutils \
|
||||
glmark2 \
|
||||
usb-gadget-diya \
|
||||
pulseaudio \
|
||||
pulseaudio-server \
|
||||
alsa-utils \
|
||||
pulseaudio-module-alsa-card \
|
||||
pulseaudio-module-alsa-source \
|
||||
pulseaudio-module-alsa-sink \
|
||||
pulseaudio-module-cli \
|
||||
pulseaudio-module-echo-cancel \
|
||||
pulseaudio-misc \
|
||||
"
|
||||
|
||||
# TOOLCHAIN_HOST_TASK:append = " libxkbcommon "
|
||||
|
||||
19
recipes-core/volatile-binds/files/volatile-binds.service.in
Normal file
19
recipes-core/volatile-binds/files/volatile-binds.service.in
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Bind mount volatile @where@
|
||||
DefaultDependencies=no
|
||||
Before=local-fs.target network.target
|
||||
RequiresMountsFor=@whatparent@ @whereparent@
|
||||
ConditionPathIsReadWrite=|@whatparent@
|
||||
ConditionPathExists=|!@whatparent@
|
||||
ConditionPathExists=@where@
|
||||
ConditionPathIsReadWrite=!@where@
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=Yes
|
||||
Environment=MOUNT_COPYBIND_AVOID_OVERLAYFS=@avoid_overlayfs@
|
||||
ExecStart=/sbin/mount-copybind @what@ @where@
|
||||
ExecStop=/bin/umount @where@
|
||||
|
||||
[Install]
|
||||
WantedBy=local-fs.target
|
||||
2
recipes-core/volatile-binds/volatile-binds.bbappend
Normal file
2
recipes-core/volatile-binds/volatile-binds.bbappend
Normal file
@@ -0,0 +1,2 @@
|
||||
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
|
||||
SRC_URI += " file://volatile-binds.service.in "
|
||||
@@ -19,4 +19,4 @@ fi
|
||||
|
||||
# set up ip forward
|
||||
sysctl -w net.ipv4.ip_forward=1
|
||||
nmcli con up USB
|
||||
nmcli con up USB || true
|
||||
1
recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
Normal file
1
recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
Normal file
@@ -0,0 +1 @@
|
||||
PACKAGECONFIG:append = " systemd dbus bluez5 gsettings jack "
|
||||
Reference in New Issue
Block a user