Run pcid-spawner right after starting pcid

This commit is contained in:
bjorn3 2025-03-01 17:16:14 +01:00
parent 83412b3d7b
commit d76ee8eee3
4 changed files with 8 additions and 4 deletions

View File

@ -12,6 +12,7 @@ BINS=(
lived
nvmed
pcid
pcid-spawner
vesad
)
@ -62,7 +63,7 @@ export CARGO_PROFILE_RELEASE_PANIC=abort
for bin in "${BINS[@]}"
do
case "${bin}" in
pcid | fbbootlogd | fbcond | inputd | vesad | lived | ps2d | acpid | bcm2835-sdhcid)
pcid | pcid-spawner | fbbootlogd | fbcond | inputd | vesad | lived | ps2d | acpid | bcm2835-sdhcid)
cp -v "target/${TARGET}/release/${bin}" "${COOKBOOK_STAGE}/bin"
;;
*)

View File

@ -11,6 +11,7 @@ BINS=(
ihdad
ixgbed
pcid
pcid-spawner
rtl8139d
rtl8168d
usbctl
@ -41,7 +42,7 @@ export CARGO_PROFILE_RELEASE_PANIC=abort
$(for bin in "${BINS[@]}"; do echo "-p" "${bin}"; done)
for bin in "${BINS[@]}"
do
if [[ "${bin}" == "inputd" || "${bin}" == "pcid" ]]; then
if [[ "${bin}" == "inputd" || "${bin}" == "pcid" || "${bin}" == "pcid-spawner" ]]; then
cp -v "target/${TARGET}/release/${bin}" "${COOKBOOK_STAGE}/usr/bin"
else
cp -v "target/${TARGET}/release/${bin}" "${COOKBOOK_STAGE}/usr/lib/drivers"

View File

@ -13,7 +13,8 @@ logd /scheme/debug /scheme/fbbootlog
stdio /scheme/log
ramfs logging
acpid
pcid /etc/pcid/initfs.toml
pcid
pcid-spawner /etc/pcid/initfs.toml
lived
unset DISK_LIVE_ADDR DISK_LIVE_SIZE
redoxfs --uuid $REDOXFS_UUID file $REDOXFS_BLOCK

View File

@ -14,7 +14,8 @@ stdio /scheme/log
ramfs logging
ps2d us
acpid
pcid /etc/pcid/initfs.toml
pcid
pcid-spawner /etc/pcid/initfs.toml
lived
unset DISK_LIVE_ADDR DISK_LIVE_SIZE
redoxfs --uuid $REDOXFS_UUID file $REDOXFS_BLOCK