vmdisk output: allow extra params to run.sh

This commit is contained in:
Daniel Barlow 2023-12-29 18:12:57 +00:00
parent 0bf98c5243
commit ec1ff283da

View file

@ -42,7 +42,7 @@ in {
ln -s ${o.mbrimage} ./mbrimage ln -s ${o.mbrimage} ./mbrimage
cat > run.sh <<EOF cat > run.sh <<EOF
#!${pkgs.runtimeShell} #!${pkgs.runtimeShell}
${pkgs.pkgsBuildBuild.run-liminix-vm}/bin/run-liminix-vm --arch ${pkgs.stdenv.hostPlatform.qemuArch} --u-boot ${o.u-boot}/u-boot.bin --phram-address 0x${phram_address} --disk-image ${o.mbrimage} /dev/null /dev/null ${pkgs.pkgsBuildBuild.run-liminix-vm}/bin/run-liminix-vm --arch ${pkgs.stdenv.hostPlatform.qemuArch} --u-boot ${o.u-boot}/u-boot.bin --phram-address 0x${phram_address} --disk-image ${o.mbrimage} \$* /dev/null /dev/null
EOF EOF
chmod +x run.sh chmod +x run.sh
''; '';