01-27-2020, 09:43 AM
Hello,
the command : pmbootstrap install --sdcard /dev/sdb
ask muliple sudo passwod :
(base) moi@debian:~/pmbootstrap$ pmbootstrap init
[16:34:16] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
[16:34:16] Work path [/home/moi/.local/var/pmbootstrap]:
[16:34:32] WARNING: Your work folder version needs to be migrated (from version 0 to 4)!
[16:34:32] Changelog:
[16:34:32] * Building chroots have a different username (#709)
[16:34:32] Migration will do the following:
[16:34:32] * Zap your chroots
[16:34:32] * Adjust '/home/moi/.local/var/pmbootstrap/config_abuild/abuild.conf'
[16:34:32] Continue? (y/n) [n]: y
[sudo] Mot de passe de moi :
[sudo] Mot de passe de moi :
[16:34:52] Cleared up ~0 MB of space
.../...
(base) moi@debian:~$ pmbootstrap install --sdcard /dev/sdb
[16:03:07] *** (1/5) PREPARE NATIVE CHROOT ***
[sudo] Mot de passe de moi :
[sudo] Mot de passe de moi :
[sudo] Mot de passe de moi :
[sudo] Mot de passe de moi :
[sudo] Mot de passe de moi :
.../...
Il logs, script execute each command in sudo mode:
(016372) [16:03:07] *** (1/5) PREPARE NATIVE CHROOT ***
(016372) [16:03:07] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet!
(016372) [16:03:07] % sudo mkdir -p /home/moi/.local/var/pmbootstrap/cache_apk_x86_64
(016372) [16:03:17] % sudo mkdir -p /home/moi/.local/var/pmbootstrap/chroot_native/var/cache/apk
(016372) [16:03:20] % sudo mount --bind /home/moi/.local/var/pmbootstrap/cache_apk_x86_64 /home/moi/.local/var/pmbootstrap/chroot_native/var/cache/apk
(016372) [16:03:26] % sudo mkdir -p /home/moi/.local/var/pmbootstrap/cache_ccache_x86_64
(016372) [16:03:31] % sudo mkdir -p /home/moi/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache
same problem with : pmbootstrap export
(base) moi@debian:~/.local/var/pmbootstrap$ pwd
/home/moi/.local/var/pmbootstrap
(base) moi@debian:~/.local/var/pmbootstrap$ ls -lh
total 24K
drwx------ 3 moi moi 4,0K janv. 27 15:16 cache_git
drwxr-xr-x 4 root root 4,0K janv. 27 15:31 chroot_native
drwxr-xr-x 3 root root 4,0K janv. 27 15:33 chroot_rootfs_pine64-pinephone
-rw-r--r-- 1 moi moi 6,3K janv. 27 15:54 log.txt
-rw-r--r-- 1 moi moi 2 janv. 27 15:16 version
I look on https://gitlab.com/postmarketOS/pmbootstrap, but I don't see if it's we have parameter with sudo password
What have I forgotten or done wrong ?
Thanks by advance for your help
the command : pmbootstrap install --sdcard /dev/sdb
ask muliple sudo passwod :
(base) moi@debian:~/pmbootstrap$ pmbootstrap init
[16:34:16] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
[16:34:16] Work path [/home/moi/.local/var/pmbootstrap]:
[16:34:32] WARNING: Your work folder version needs to be migrated (from version 0 to 4)!
[16:34:32] Changelog:
[16:34:32] * Building chroots have a different username (#709)
[16:34:32] Migration will do the following:
[16:34:32] * Zap your chroots
[16:34:32] * Adjust '/home/moi/.local/var/pmbootstrap/config_abuild/abuild.conf'
[16:34:32] Continue? (y/n) [n]: y
[sudo] Mot de passe de moi :
[sudo] Mot de passe de moi :
[16:34:52] Cleared up ~0 MB of space
.../...
(base) moi@debian:~$ pmbootstrap install --sdcard /dev/sdb
[16:03:07] *** (1/5) PREPARE NATIVE CHROOT ***
[sudo] Mot de passe de moi :
[sudo] Mot de passe de moi :
[sudo] Mot de passe de moi :
[sudo] Mot de passe de moi :
[sudo] Mot de passe de moi :
.../...
Il logs, script execute each command in sudo mode:
(016372) [16:03:07] *** (1/5) PREPARE NATIVE CHROOT ***
(016372) [16:03:07] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet!
(016372) [16:03:07] % sudo mkdir -p /home/moi/.local/var/pmbootstrap/cache_apk_x86_64
(016372) [16:03:17] % sudo mkdir -p /home/moi/.local/var/pmbootstrap/chroot_native/var/cache/apk
(016372) [16:03:20] % sudo mount --bind /home/moi/.local/var/pmbootstrap/cache_apk_x86_64 /home/moi/.local/var/pmbootstrap/chroot_native/var/cache/apk
(016372) [16:03:26] % sudo mkdir -p /home/moi/.local/var/pmbootstrap/cache_ccache_x86_64
(016372) [16:03:31] % sudo mkdir -p /home/moi/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache
same problem with : pmbootstrap export
(base) moi@debian:~/.local/var/pmbootstrap$ pwd
/home/moi/.local/var/pmbootstrap
(base) moi@debian:~/.local/var/pmbootstrap$ ls -lh
total 24K
drwx------ 3 moi moi 4,0K janv. 27 15:16 cache_git
drwxr-xr-x 4 root root 4,0K janv. 27 15:31 chroot_native
drwxr-xr-x 3 root root 4,0K janv. 27 15:33 chroot_rootfs_pine64-pinephone
-rw-r--r-- 1 moi moi 6,3K janv. 27 15:54 log.txt
-rw-r--r-- 1 moi moi 2 janv. 27 15:16 version
I look on https://gitlab.com/postmarketOS/pmbootstrap, but I don't see if it's we have parameter with sudo password
What have I forgotten or done wrong ?
Thanks by advance for your help