Skip to content

Commit

Permalink
fix stylus copy
Browse files Browse the repository at this point in the history
Signed-off-by: Nianyu Shen <[email protected]>
  • Loading branch information
nianyush committed Mar 9, 2024
1 parent 56b79f0 commit 0c9d7a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stylus_uki.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ stages:
- echo "Copying files to persistent path"
- /usr/lib/systemd/systemd-cryptsetup attach persistent $(findfs PARTLABEL=persistent) - tpm2-device=auto
- mountpoint="/usr/local" && ! findmnt -rno TARGET "$mountpoint" > /dev/null && mount /dev/mapper/persistent "$mountpoint" || echo "Already mounted."
- mkdir -p /usr/local/.state/opt.bind/spectrocloud/bin
- mkdir -p /usr/local/bin/
- cp -rfv /run/initramfs/live/luet /usr/local/bin/
- cp -rfv /run/initramfs/live/stylus-image.tar /usr/local/
- luet util unpack file://run/initramfs/live/stylus-image.tar /
- cp -rfv /opt/spectrocloud/ /usr/local/.state/opt.bind/

0 comments on commit 0c9d7a7

Please sign in to comment.