pmbootstrap to sdcard
#20
(02-11-2020, 06:44 AM)MartijnBraam Wrote:
(02-10-2020, 02:23 PM)curtvaughan Wrote: Hello.  Here's what I get from the install to the sdcard:

curt@pop-os:~$ pmbootstrap install --sdcard /dev/mmcblk0
[14:16:09] *** (1/5) PREPARE NATIVE CHROOT ***
[14:16:09] (native) install alpine-base
[14:16:10] NOTE: Valid pkgvers are described here:
[14:16:10] <https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#pkgver>
[14:16:10] ERROR: Invalid pkgver '3.x.x' in APKBUILD: /home/curt/.local/var/pmbootstrap/cache_git/pmaports/device/linux-pin64-pinephone/APKBUILD
[14:16:10] See also: <https://postmarketos.org/troubleshooting>
Run 'pmbootstrap log' for details.

So, here's output from 'pmbootstrap log':

curt@pop-os:~$ cat pmbootstrap.log
(5/19) Installing alpine-conf (3.8.3-r6)
(6/19) Installing libcrypto1.1 (1.1.1d-r4)
(7/19) Installing libssl1.1 (1.1.1d-r4)
(8/19) Installing ca-certificates-cacert (20191127-r1)
(9/19) Installing libtls-standalone (2.9.1-r0)
(10/19) Installing ssl_client (1.31.1-r11)
(11/19) Installing zlib (1.2.11-r3)
(12/19) Installing apk-tools (2.10.4-r3)
(13/19) Installing busybox-suid (1.31.1-r11)
(14/19) Installing busybox-initscripts (3.2-r2)
Executing busybox-initscripts-3.2-r2.post-install
(15/19) Installing scanelf (1.2.4-r0)
(16/19) Installing musl-utils (1.1.24-r0)
(17/19) Installing libc-utils (0.7.2-r0)
(18/19) Installing alpine-keys (2.1-r2)
(19/19) Installing alpine-base (3.12_alpha20200122-r0)
Executing busybox-1.31.1-r11.trigger
OK: 8 MiB in 19 packages
(027632) [14:16:10] (native) % adduser -D pmos -u 12345
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-abuild-config
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-ccache
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-packages
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/index /home/pmos/.cargo/registry/index
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/index
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/cache /home/pmos/.cargo/registry/cache
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/cache
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(027632) [14:16:10] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/git/db /home/pmos/.cargo/git/db
(027632) [14:16:10] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/git/db
(027632) [14:16:10] (native) calculate depends of cryptsetup, util-linux, e2fsprogs, parted, dosfstools (pmbootstrap -v for details)
(027632) [14:16:10] NOTE: Valid pkgvers are described here:
(027632) [14:16:10] <https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#pkgver>
(027632) [14:16:10] ERROR: Invalid pkgver '3.x.x' in APKBUILD: /home/curt/.local/var/pmbootstrap/cache_git/pmaports/device/linux-pin64-pinephone/APKBUILD
(027632) [14:16:10] See also: <https://postmarketos.org/troubleshooting>
(027632) [14:16:10] Traceback (most recent call last):
 File "/home/curt/pmbootstrap/pmb/__init__.py", line 63, in main
   getattr(frontend, args.action)(args)
 File "/home/curt/pmbootstrap/pmb/helpers/frontend.py", line 198, in install
   pmb.install.install(args)
 File "/home/curt/pmbootstrap/pmb/install/_install.py", line 493, in install
   build=False)
 File "/home/curt/pmbootstrap/pmb/chroot/apk.py", line 202, in install
   packages_with_depends = pmb.parse.depends.recurse(args, packages, suffix)
 File "/home/curt/pmbootstrap/pmb/parse/depends.py", line 146, in recurse
   package = package_from_aports(args, pkgname_depend)
 File "/home/curt/pmbootstrap/pmb/parse/depends.py", line 33, in package_from_aports
   aport = pmb.helpers.pmaports.find(args, pkgname_depend, False)
 File "/home/curt/pmbootstrap/pmb/helpers/pmaports.py", line 133, in find
   apkbuild = pmb.parse.apkbuild(args, path_current)
 File "/home/curt/pmbootstrap/pmb/parse/_apkbuild.py", line 312, in apkbuild
   "' in APKBUILD: " + path)
RuntimeError: Invalid pkgver '3.x.x' in APKBUILD: /home/curt/.local/var/pmbootstrap/cache_git/pmaports/device/linux-pin64-pinephone/APKBUILD

Everything went smoothly before the actual install attempt.  Any suggestions will be appreciated.

You typed pin64 instead of pine64 into the device selection when running "pmbootstrap init". so it created a new device page for that device with some scaffolding in it that isn't complete. to remove it delete "/home/curt/.local/var/pmbootstrap/cache_git/pmaports/device/linux-pin64-pinephone" and "/home/curt/.local/var/pmbootstrap/cache_git/pmaports/device/device-pin64-pinephone"

Then run pmbootstrap init again and type the correct name
Thanks. Will try this out a.s.a.p.  Much appreciated.


Messages In This Thread
pmbootstrap to sdcard - by Jeb5Blovrueb - 11-11-2019, 02:13 PM
RE: pmbootstrap to sdcard - by Danct12 - 11-15-2019, 06:55 PM
RE: pmbootstrap to sdcard - by vetrik55 - 07-06-2020, 03:17 PM
RE: pmbootstrap to sdcard - by fernando_c_m - 07-07-2020, 04:17 AM
RE: pmbootstrap to sdcard - by wgvanveen - 02-02-2020, 05:18 AM
RE: pmbootstrap to sdcard - by Veraendert - 02-02-2020, 06:30 AM
RE: pmbootstrap to sdcard - by wgvanveen - 02-02-2020, 10:11 AM
RE: pmbootstrap to sdcard - by rico - 02-02-2020, 11:27 AM
RE: pmbootstrap to sdcard - by wgvanveen - 02-02-2020, 11:46 AM
RE: pmbootstrap to sdcard - by rico - 02-02-2020, 11:56 AM
RE: pmbootstrap to sdcard - by ksmithaz1 - 02-07-2020, 08:57 AM
RE: pmbootstrap to sdcard - by colin hodsdon - 02-11-2020, 04:39 PM
RE: pmbootstrap to sdcard - by pajux - 02-07-2020, 09:44 AM
RE: pmbootstrap to sdcard - by albertz - 02-09-2020, 06:44 AM
RE: pmbootstrap to sdcard - by Gobelin - 02-10-2020, 02:48 AM
RE: pmbootstrap to sdcard - by albertz - 02-10-2020, 06:51 AM
RE: pmbootstrap to sdcard - by wibble - 02-10-2020, 05:20 AM
RE: pmbootstrap to sdcard - by albertz - 02-10-2020, 08:45 AM
RE: pmbootstrap to sdcard - by albertz - 02-10-2020, 11:28 AM
RE: pmbootstrap to sdcard - by curtvaughan - 02-10-2020, 02:23 PM
RE: pmbootstrap to sdcard - by MartijnBraam - 02-11-2020, 06:44 AM
RE: pmbootstrap to sdcard - by curtvaughan - 02-13-2020, 09:28 AM
RE: pmbootstrap to sdcard - by curtvaughan - 02-14-2020, 02:14 PM
RE: pmbootstrap to sdcard - by canadien666 - 03-19-2020, 06:40 PM
RE: pmbootstrap to sdcard - by PureTryOut - 03-20-2020, 01:32 AM
RE: pmbootstrap to sdcard - by canadien666 - 03-22-2020, 04:50 PM
RE: pmbootstrap to sdcard - by KeithMcN - 06-22-2020, 03:15 AM
RE: pmbootstrap to sdcard - by PureTryOut - 03-23-2020, 04:06 AM
RE: pmbootstrap to sdcard - by valentin - 04-18-2020, 12:28 PM
RE: pmbootstrap to sdcard - by PureTryOut - 04-19-2020, 09:05 AM
RE: pmbootstrap to sdcard - by valentin - 05-11-2020, 07:37 AM
RE: pmbootstrap to sdcard - by PureTryOut - 06-09-2020, 01:27 PM
RE: pmbootstrap to sdcard - by Saliency - 06-17-2020, 11:10 PM
RE: pmbootstrap to sdcard - by PureTryOut - 06-18-2020, 04:39 AM
RE: pmbootstrap to sdcard - by KeithMcN - 06-21-2020, 12:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  phone won't boot from emmc with sdcard inserted ssilvi 3 4,234 06-06-2021, 02:47 AM
Last Post: ssilvi
  Cannot boot from SDCard cube 2 3,800 01-31-2021, 11:47 AM
Last Post: cube
  pmbootstrap error lat 2 4,048 12-22-2020, 06:32 PM
Last Post: lat
  pmbootstrap issues IVp 3 5,854 09-24-2020, 02:24 AM
Last Post: Pinethom
  pmbootstrap build large keyboard not usable u20200719 5 7,899 07-25-2020, 02:31 PM
Last Post: u20200719
  Is it possible to pre-configure wifi and ssh with pmbootstrap? kelbot 2 5,295 07-06-2020, 01:55 AM
Last Post: ChriChri
  Dumb question: do I have to use pmbootstrap? quixote 5 7,782 06-11-2020, 09:23 AM
Last Post: plainenough
  pmbootstrap on Mac OSX srfne 2 6,191 02-29-2020, 04:15 PM
Last Post: srfne
  Does pmbootstrap install the latest image? mypine 4 7,096 02-20-2020, 01:02 PM
Last Post: mypine
  pmbootstrap - choose different ui after first run mypine 2 4,577 02-13-2020, 04:35 PM
Last Post: mypine

Forum Jump:


Users browsing this thread: 1 Guest(s)