![]() |
pmbootstrap to sdcard on debian 10 - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: PostmarketOS on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=124) +---- Thread: pmbootstrap to sdcard on debian 10 (/showthread.php?tid=8942) |
pmbootstrap to sdcard on debian 10 - ctsm63 - 01-27-2020 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 RE: pmbootstrap to sdcard on debian 10 - MartijnBraam - 01-28-2020 pmbootstrap runs a lot of commands with sudo internally, usually entering the sudo password once will cache it for a few minutes in the session so it should only be asked once. RE: pmbootstrap to sdcard on debian 10 - ctsm63 - 01-29-2020 (01-28-2020, 04:26 PM)MartijnBraam Wrote: pmbootstrap runs a lot of commands with sudo internally, usually entering the sudo password once will cache it for a few minutes in the session so it should only be asked once. Thank you very much, in Debian 10, in /etc/sudoers, Defaults timestamp_timeout=0 I increased it :-) |