mirror of
https://codeberg.org/andersonarc/reliant-system.git
synced 2025-11-13 04:40:37 -05:00
fix build.sh and surgeon patch code
This commit is contained in:
parent
809dcb6d5a
commit
f1b1f76d1f
2 changed files with 3 additions and 3 deletions
|
|
@ -38,4 +38,4 @@ cp shufflecake-c/shufflecake "$PWD/shufflecake"
|
|||
|
||||
# Restore the original crypto.h to avoid interference with future updates
|
||||
cd shufflecake-c
|
||||
git restore "shufflecake-c/$CRYPTO_H"
|
||||
git restore $CRYPTO_H
|
||||
|
|
|
|||
|
|
@ -20,10 +20,10 @@ set -u
|
|||
|
||||
# Patch create-snapshot
|
||||
rm -f /sysroot/usr/lib/qubes/create-snapshot
|
||||
cp /usr/share/scripts/create-snapshot.sh /sysroot/usr/lib/qubes/create-snapshot
|
||||
cp /usr/local/share/scripts/create-snapshot.sh /sysroot/usr/lib/qubes/create-snapshot || true
|
||||
|
||||
# Patch config.py to allow for higher Qube IDs
|
||||
sed 's/^max_qid = .*$/max_qid = 100000/' /usr/lib/python3.11/site-packages/qubes/config.py
|
||||
sed 's/^max_qid = .*$/max_qid = 100000/' /sysroot/usr/lib/python3.11/site-packages/qubes/config.py || true
|
||||
|
||||
# Reassemble qubes.xml
|
||||
qubes_xml='/sysroot/var/lib/qubes/qubes.xml'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue