pastebin - collaborative debugging tool
rovema.kpaste.net RSS


schroot for ProConOS (try #17)
Posted by Anonymous on Mon 11th Nov 2024 10:38
raw | new post
modification of post by Anonymous (view diff)

  1. #
  2. # schroot for ProConOS
  3. #
  4.  
  5.  
  6. #
  7. # Make sure the Linux host has these two accounts:
  8. # $ useradd -u 1000 --user-group -s /bin/bash target
  9. # $ useradd -u 1001 --user-group -s /bin/bash rovema
  10. #
  11.  
  12. $ cat /etc/schroot/chroot.d/schroot_bullseye_proconos001
  13. [schroot_bullseye_proconos001]
  14. description=32bit test chroot for proconos, try 011
  15. #aliases=test-32bit
  16. type=directory
  17. directory=/home/target/schroot/schroot_bullseye_proconos001/root_dir/
  18. users=target,root,rovema
  19. root-groups=root
  20. profile=desktop
  21. personality=linux
  22. preserve-environment=false
  23. $ mkdir -p /home/target/schroot/schroot_bullseye_proconos001/root_dir
  24. $ cd /home/target/schroot/schroot_bullseye_proconos001/root_dir
  25. $ debootstrap --arch i386 '--include=autofs,nedit,x11-apps,strace,ltrace,locales,task-german,task-japanese,nfs-common,nfs4-acl-tools,vim,ksh,xterm,w3m,lynx,apt-file,file' --no-check-gpg bullseye $PWD http://deb.debian.org/debian
  26. $ printf 'root:tiger12maus\n' | chpasswd -m --root $PWD
  27. # replace "XXXXXXXXX" with real password for user "target"
  28. $ printf 'target:XXXXXXXXX\n' | chpasswd -m --root $PWD
  29. $ printf 'rovema:tiger12maus\n' | chpasswd -m --root $PWD
  30.  
  31. # create new /etc/apt/sources.list
  32. $ cat etc/apt/sources.list
  33. deb http://deb.debian.org/debian bullseye main contrib non-free
  34. deb-src http://deb.debian.org/debian bullseye main contrib non-free
  35.  
  36. deb http://deb.debian.org/debian bullseye-updates main contrib non-free
  37. deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
  38.  
  39. deb http://deb.debian.org/debian bullseye-backports main contrib non-free
  40. deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
  41.  
  42. deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
  43. deb-src http://security.debian.org/debian-security/ bullseye-security main contrib non-free
  44. # EOF.
  45.  
  46. #
  47. # enter schroot, update/upgrade packages, and install the full dev environment
  48. #
  49. $ schroot -c schroot_bullseye_proconos001 -u root --directory / -- /bin/bash
  50. # within schroot then do this
  51. $ apt-get update
  52. $ apt-get upgrade
  53. $ apt-get install autofs emacs nedit x11-apps strace ltrace locales task-german task-japanese nfs-common nfs4-acl-tools vim ksh xterm konsole w3m lynx apt-file file gcc clang gdb valgrind build-essential git subversion git-svn ddd bc flex debconf-utils dwarves sharutils wget nfs4-acl-tools libicu-dev cron at busybox  openssh-client libboost-all-dev libcurl4-openssl-dev libarchive-dev liblapack-dev liblapacke-dev libacl1-dev libbz2-dev qtbase5-dev qttools5-dev azure-cli wireshark-qt build-essential gcc perl bzip2 dkms make tigervnc-viewer lshw cvs pax weechat libcap-dev libidn11-dev libldap-dev libsqlite3-dev libxml2-dev liburiparser-dev libconfig-dev libdevmapper-dev attr x11vnc libgmp-dev libmpfr6 libmpc-dev maven autossh ntpdate apparmor-utils hdparm bmake ninja-build python3-venv python3-tomli rpm2cpio libslirp-dev libblas-dev lcov smartmontools openjdk-17-jdk openjdk-17-demo

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at