Difference between
modified post 1fac by Anonymous on Thu 12th Jan 2023 10:59
original post 1aba90 by Anonymous on Tue 10th Jan 2023 18:42
Download diff
Show
old version |
new version |
both versions
| 1 | - | # cat /etc/schroot/chroot.d/jessie-test-home-rmainz-proconos | |
| 1 | + | # cat /etc/schroot/chroot.d/jessie-test-home-rmainz-debian_xorg_pkg_test2 | |
| 2 | - | [jessie-test-home-rmainz-proconos] | |
| 2 | + | [jessie-test-home-rmainz-debian_xorg_pkg_test2] | |
| 3 | - | description=32bit test chroot for proconos | |
| 3 | + | description=32bit test chroot for Xserver package work, try2 | |
| 4 | - | aliases=test-32bit | |
| 4 | + | #aliases=test-32bit | |
| 5 | 5 | type=directory | |
| 6 | - | directory=/home/rmainz/work/proconos_chroot/try3/new_root_dir | |
| 6 | + | directory=/home/rmainz/tmp/debian_xorg_pkg_test1/jessie_schroot2/root_dir/ | |
| 7 | - | users=test001,rmainz,swulsch | |
| 7 | + | users=test001,rmainz,swulsch,mwenzel | |
| 8 | 8 | root-groups=root | |
| 9 | 9 | profile=desktop | |
| 10 | 10 | personality=linux | |
| 11 | 11 | preserve-environment=true | |
| 12 | 12 | ||
| 17 | - | # printf 'root:tiger12maus\n' | chpasswd -m --root $PWD | |
| 18 | 13 | ||
| 14 | + | # mkdir -p /home/rmainz/tmp/debian_xorg_pkg_test1/jessie_schroot2/root_dir/ | |
| 19 | 19 | ||
| 22 | 20 | ||
| 21 | + | #### Add autofs to chroot start: | |
| 23 | 25 | ||
| 24 | - | #### within chroot environment: | |
| 26 | + | set -o errexit | |
| 27 | 27 | ||
| 28 | - | #### edit /etc/apt/sources.list | |
| 28 | + | . "$SETUP_DATA_DIR/common-data" | |
| 29 | - | diff -u /etc/apt/sources.list.old /etc/apt/sources.list | |
| 29 | + | . "$SETUP_DATA_DIR/common-functions" | |
| 30 | - | --- /etc/apt/sources.list.old 2023-01-09 15:01:39.579608530 +0000 | |
| 30 | + | . "$SETUP_DATA_DIR/common-config" | |
| 31 | - | +++ /etc/apt/sources.list 2023-01-09 15:02:21.462900051 +0000 | |
| 31 | + | ||
| 32 | - | @@ -1 +1,9 @@ | |
| 32 | + | if [ $STAGE = "setup-start" ] || [ $STAGE = "setup-recover" ]; then | |
| 33 | - | -deb http://deb.debian.org/debian jessie main | |
| 33 | + | [ -r "$CHROOT_PATH/etc/auto.home" ] && chroot "$CHROOT_PATH" /usr/sbin/service autofs restart | |
| 34 | - | +deb http://cdn-fastly.deb.debian.org/debian/ jessie main | |
| 34 | + | elif [ $STAGE = "setup-stop" ]; then | |
| 35 | - | +deb-src http://cdn-fastly.deb.debian.org/debian/ jessie main | |
| 35 | + | true | |
| 36 | - | + | |
| 36 | + | fi | |
| 37 | - | +deb http://security.debian.org/ jessie/updates main | |
| 37 | + | ---- snip ---- | |
| 43 | 38 | ||
| 47 | - | # apt-file update | |
| 48 | 39 | ||
| 49 | - | #### Add autofs to chroot start: | |
| 40 | + | #### run interactive shell within chroot environment | |
| 50 | - | ---- snip ---- | |
| 41 | + | # schroot -c jessie-test-home-rmainz-debian_xorg_pkg_test2 -u root --directory / -- /bin/bash | |
| 53 | 42 | ||
| 55 | 43 | ||
| 56 | - | . "$SETUP_DATA_DIR/common-data" | |
| 44 | + | #### within chroot environment: | |
| 57 | - | . "$SETUP_DATA_DIR/common-functions" | |
| 45 | + | # service autofs start # required so others have their home dir | |
| 58 | - | . "$SETUP_DATA_DIR/common-config" | |
| 46 | + | # dpkg-reconfigure locales | |
| 59 | 47 | ||
| 66 | 48 | ||
| 67 | - | ||
| 49 | + | #### edit /etc/apt/sources.list | |
| 68 | - | ||
| 50 | + | # diff -u /etc/apt/sources.list.old /etc/apt/sources.list | |
| 69 | - | ||
| 51 | + | --- /etc/apt/sources.list.old 2023-01-12 10:31:30.886590771 +0000 | |
| 70 | - | ||
| 52 | + | +++ /etc/apt/sources.list 2023-01-12 10:52:04.397174191 +0000 | |
| 71 | - | ||
| 53 | + | @@ -1 +1,9 @@ | |
| 72 | - | ||
| 54 | + | -deb http://deb.debian.org/debian jessie main | |
| 73 | - | ||
| 55 | + | +deb [trusted=yes] http://archive.debian.org/debian jessie-backports main | |
| 74 | - | ||
| 56 | + | +deb-src [trusted=yes] http://archive.debian.org/debian jessie-backports main | |
| 75 | - | ||
| 57 | + | + | |
| 76 | - | ||
| 58 | + | +deb [trusted=yes] http://security.debian.org/ jessie/updates main | |
| 77 | - | ||
| 59 | + | +deb-src [trusted=yes] http://security.debian.org/ jessie/updates main | |
| 78 | - | ||
| 60 | + | + | |
| 79 | - | ||
| 61 | + | +deb [trusted=yes] http://cdn-fastly.deb.debian.org/debian/ jessie main | |
| 80 | - | ||
| 62 | + | +deb-src [trusted=yes] http://cdn-fastly.deb.debian.org/debian/ jessie main | |
| 81 | - | ||
| 63 | + | + | |
| 82 | 64 | ||
| 83 | 65 | ||
| 84 | - | ||
| 66 | + | #### Force Debian jessie apt-get update | |
| 85 | - | ||
| 67 | + | # printf '%s\n' 'Acquire::Check-Valid-Until "false";' >/etc/apt/apt.conf.d/80use_expired_apt_repository | |
| 86 | - | ||
| 68 | + | # apt-get update | |
| 87 | - | ||
| 69 | + | # apt-file update | |
| 88 | - | ||
| 70 | + | # apt-get -t jessie-backports update | |
| 89 | - | ||
| 71 | + | # apt-get -t jessie-backports upgrade | |
| 90 | 72 | ||
| 91 | 73 |
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.
rovema.kpaste.net RSS