s243a

run_sandbox.sh (and some archpup comments)

Feb 14th, 2020
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. The purpose of this thread is to demonstrate how to use psandbox to troubleshoot a new experimental distro. Psandbox is a more light weight approach than virtualization and is based on the sandbox.sh script that was originally part of puppylinux and is now included in woof-CE.
  2.  
  3. [b]Get psandbox[/b]
  4. 1. Make a new director called psandbox.
  5. [code]
  6. mkdir -p /mnt/home/gitlab_projects/psandbox
  7. cd /mnt/home/gitlab_projects/psandbox
  8. [/code]
  9. [b] Step 1. Get the files.
  10. PM
  11.  
  12. #!/bin/bash
  13. SB_PREFIX=/mnt/home/gitlab_projects/psandbox/master
  14. OS_HOME=/initrd/mnt/dev_save/arch/32/20.02
  15. MP=/initrd/mnt/dev_save
  16. PSUBDIR="arch/32/20.02"
  17. OS_HOME="$MP/$PSUBDIR"
  18. LOGFILE="$(realpath ./sandbox.log)"
  19. RW_LAYER="$(realpath ./a32pupsave)"
  20. bash -x "$SB_PREFIX"/usr/bin/psandbox.sh --logfile "$LOGFILE" -f "$OS_HOME"/sandbox.out -o "$OS_HOME"/sandbox.out --pdrv /mnt/home --maybe-psubdir "$PSUBDIR" --no-exit --rw-layer "$RW_LAYER"
Advertisement
Add Comment
Please, Sign In to add comment