Compare commits

..

No commits in common. "f6da6444f61424211a9589a6e8e46fdf6ebb316a" and "9486b8cdcc55a86927240fe7b4802e3100f9d18f" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View file

@ -37,5 +37,5 @@ $(DST_BIN): $(SRC_BIN)
$(DST_MODULES): $(DST_HOME)%: $(SRC_HOME)% $(DST_MODULES): $(DST_HOME)%: $(SRC_HOME)%
sudo -u $(QEMU_USER) install -m 740 -- $^ $@ sudo -u $(QEMU_USER) install -m 740 -- $^ $@
$(DST_LAUNCHERS): $(DST_LAUNCHERSD)%: $(SRC_LAUNCHERSD)% $(LAUNCHERS): $(DST_LAUNCHERSD)%: $(SRC_LAUNCHERSD)%
sudo -u $(QEMU_USER) install -m 740 -- $^ $@ sudo -u $(QEMU_USER) install -m 740 -- $^ $@

View file

@ -13,7 +13,7 @@ esac
[ -z "$QEMUSH_NPROC" ] && QEMUSH_NPROC=$(($(nproc) / 2)) [ -z "$QEMUSH_NPROC" ] && QEMUSH_NPROC=$(($(nproc) / 2))
# How much RAM to use # How much RAM to use
[ -z "$QEMUSH_RAM" ] && QEMUSH_RAM=$(($(grep '^MemAvailable:\s' /proc/meminfo | awk '{ print $2 }') / 2))K [ -z "$QEMUSH_RAM" ] && QEMUSH_RAM=$(($(free | grep '^Mem:\s' | awk '{ print $NF }') / 2))K
# Use selected QEMUSH_MACHINE type if set # Use selected QEMUSH_MACHINE type if set
[ -n "$QEMUSH_MACHINE" ] && set -- -M "$QEMUSH_MACHINE" "$@" [ -n "$QEMUSH_MACHINE" ] && set -- -M "$QEMUSH_MACHINE" "$@"