This commit is contained in:
Jeremy Soller 2025-03-01 20:58:04 -07:00
commit be90e40f48
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA
6 changed files with 9 additions and 7 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

View File

@ -12,6 +12,7 @@ dependencies = [
script = """
INITFS_RM_BINS='redoxfs-ar redoxfs-mkfs'
rm -r "${COOKBOOK_BUILD}/initfs"
mkdir -p "${COOKBOOK_BUILD}/initfs/etc"
cp -r "${COOKBOOK_SYSROOT}/"* "${COOKBOOK_BUILD}/initfs"

View File

@ -43,8 +43,5 @@ curl -OL https://camanis.net/tyrian/tyrian21.zip
sha256sum -c tyrian21.zip.sha
unzip -jd "${ASSETSDIR}" tyrian21.zip
# The build system doesn't automatically apply patches to cloned repositories
git apply "${COOKBOOK_RECIPE}/redox.patch"
cookbook_configure
"""