#537107 success

Build image: master:pine64-pinebookpro:none

Owner
~postmarketos
Created
5 months ago
Updated
5 months ago
Build manifest
view manifest »

Tasks

view log »
bpo_setup view log »
img_prepare view log »
img view log »
img_bootimg view log »
img_installer view log »
compress view log »
checksums view log »
submit view log »
go to bottom »
go to top »
setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[#537107] 2021/07/02 18:47:50 Booting image alpine/latest (default) on port 22778
[#537107] 2021/07/02 18:47:52 Waiting for guest to settle
[#537107] 2021/07/02 18:47:59 Sending tasks
[#537107] 2021/07/02 18:48:00 Sending build environment
[#537107] 2021/07/02 18:48:00 Sending secrets
[#537107] 2021/07/02 18:48:00 Resolving secret 482975ec-22f7-49fd-9b54-486b0b1947c3
[#537107] 2021/07/02 18:48:00 Installing packages
Warning: Permanently added '[localhost]:22778' (ECDSA) to the list of known hosts.
fetch http://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
v3.14.0-70-gd0f9887ff3 [http://dl-cdn.alpinelinux.org/alpine/v3.14/main]
v3.14.0-83-g587cab9a2a [http://dl-cdn.alpinelinux.org/alpine/v3.14/community]
OK: 14931 distinct packages available
Warning: Permanently added '[localhost]:22778' (ECDSA) to the list of known hosts.
(1/13) Installing skalibs (2.10.0.3-r0)
(2/13) Installing s6-ipcserver (2.10.0.3-r0)
(3/13) Installing utmps (0.1.0.2-r0)
Executing utmps-0.1.0.2-r0.pre-install
(4/13) Installing utmps-openrc (0.1.0.2-r0)
(5/13) Installing coreutils (8.32-r2)
(6/13) Installing libproc (3.3.17-r0)
(7/13) Installing procps (3.3.17-r0)
(8/13) Installing py3-chardet (4.0.0-r2)
(9/13) Installing py3-idna (3.2-r0)
(10/13) Installing py3-urllib3 (1.26.5-r0)
(11/13) Installing py3-certifi (2020.12.5-r1)
(12/13) Installing py3-requests (2.25.1-r4)
(13/13) Installing xz (5.2.5-r0)
Executing busybox-1.33.1-r2.trigger
OK: 1273 MiB in 223 packages
[#537107] 2021/07/02 18:48:02 Cloning repositories
Cloning into 'pmaports'...
+ cd pmaports
+ git submodule update --init
Cloning into 'pmbootstrap'...
+ cd pmbootstrap
+ git submodule update --init
Cloning into 'build.postmarketos.org'...
+ cd build.postmarketos.org
+ git submodule update --init
[#537107] 2021/07/02 18:48:17 Running task bpo_setup
[#537107] 2021/07/02 18:48:18 Running task img_prepare
[#537107] 2021/07/02 18:48:19 Running task img
[#537107] 2021/07/02 18:50:56 Running task img_bootimg
[#537107] 2021/07/02 18:50:57 Running task img_installer
[#537107] 2021/07/02 18:53:32 Running task compress
[#537107] 2021/07/02 18:54:34 Running task checksums
[#537107] 2021/07/02 18:54:37 Running task submit
[#537107] 2021/07/02 18:55:43 Processing post-success triggers...
[#537107] 2021/07/02 18:55:43 Skipping trigger, condition unmet
bpo_setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
+ export BPO_JOB_ID=537107
+ BPO_JOB_ID=537107
+ mkdir -p /home/build/.config
+ echo '[pmbootstrap]'
+ echo 'is_default_channel = False'
+ git -C pmaports checkout master
Already on 'master'
Your branch is up to date with 'origin/master'.
+ sudo ln -s /home/build/pmbootstrap/pmbootstrap.py /usr/bin/pmbootstrap
+ yes ''
+ pmbootstrap --aports=/home/build/pmaports -q init
[18:48:18] Work path [/home/build/.local/var/pmbootstrap]: [18:48:18] Channel [edge]: [18:48:18] Vendor [qemu]: [18:48:18] Device codename [amd64]: [18:48:18] Kernel [lts]: [18:48:18] Username [user]: [18:48:18] User interface [weston]: [18:48:18] Change them? (y/n) [n]: [18:48:18] Extra packages [none]: [18:48:18] Choose default locale for installation (y/n) [C.UTF-8]: [18:48:18] Device hostname (short form, e.g. 'foo') [qemu-amd64]: [18:48:18] Build outdated packages during 'pmbootstrap install'? (y/n) [y]: + sudo modprobe binfmt_misc
+ sudo mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
++ git -C pmaports rev-parse --abbrev-ref HEAD
+ branch=master
+ '[' master '!=' master ']'
img_prepare
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
+ export BPO_JOB_ID=537107
+ BPO_JOB_ID=537107
++ date +%Y%m%d-%H%M
+ IMG_DATE=20210702-1848
+ echo 20210702-1848
++ cut +++ pmbootstrap -d= -f2
config aports
++ grep '^pkgver=' /home/build/pmaports/main/postmarketos-base/APKBUILD
+ UI_VERSION=12
+ IMG_PREFIX=20210702-1848-postmarketOS-edge-none
+ IMG_PREFIX=20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro
+ echo 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro
+ pmbootstrap config ui none
[18:48:19] Config changed: ui='none'
+ pmbootstrap config device pine64-pinebookpro
[18:48:19] Config changed: device='pine64-pinebookpro'
+ mkdir out
img
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
+ export BPO_JOB_ID=537107
+ BPO_JOB_ID=537107
++ cat img-prefix
+ IMG_PREFIX=20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro
+ pmbootstrap config kernel ''
[18:48:19] Config changed: kernel=''
+ pmbootstrap config extra_space 0
[18:48:19] Config changed: extra_space='0'
+ pmbootstrap -q -y zap -p
+ printf '%s\n%s\n' 147147 147147
+ pmbootstrap -m http://dl-4.alpinelinux.org/alpine/ -mp http://mirror.postmarketos.org/postmarketos/ --details-to-stdout install --no-sshd --no-local-pkgs
(002329) [18:48:20] % cd /home/build/pmaports; git remote -v
origin	https://gitlab.com/postmarketOS/pmaports.git/ (fetch)
origin	https://gitlab.com/postmarketOS/pmaports.git/ (push)
(002329) [18:48:20] % cd /home/build/pmaports; git show origin/master:channels.cfg
# Reference: https://postmarketos.org/channels.cfg
[channels.cfg]
recommended=edge

[edge]
description=Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
branch_pmaports=master
branch_aports=master
mirrordir_alpine=edge

[v21.06]
description=Upcoming stable release (DO NOT USE)
branch_pmaports=v21.06
branch_aports=3.14-stable
mirrordir_alpine=v3.14

[v21.03]
description=Latest release / Recommended for best stability
branch_pmaports=v21.03
branch_aports=3.13-stable
mirrordir_alpine=v3.13

[v20.05]
description=Old release (unsupported)
branch_pmaports=v20.05
branch_aports=3.12-stable
mirrordir_alpine=v3.12
(002329) [18:48:20] *** (1/4) PREPARE NATIVE CHROOT ***
(002329) [18:48:20] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet!
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev
(002329) [18:48:20] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002329) [18:48:20] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002329) [18:48:20] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3
(002329) [18:48:20] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5
(002329) [18:48:20] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7
(002329) [18:48:20] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8
(002329) [18:48:20] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc
(002329) [18:48:20] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_x86_64
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002329) [18:48:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache
(002329) [18:48:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002329) [18:48:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git
(002329) [18:48:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-rust
(002329) [18:48:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-rust
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config
(002329) [18:48:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002329) [18:48:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge
(002329) [18:48:20] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages
(002329) [18:48:20] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages
(002329) [18:48:20] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
(002329) [18:48:20] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
(002329) [18:48:20] APKINDEX outdated (file does not exist yet): http://dl-4.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002329) [18:48:20] APKINDEX outdated (file does not exist yet): http://dl-4.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002329) [18:48:20] APKINDEX outdated (file does not exist yet): http://dl-4.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002329) [18:48:20] Update package index for x86_64 (4 file(s))
(002329) [18:48:20] % mkdir -p /home/build/.local/var/pmbootstrap/cache_http
(002329) [18:48:20] Download http://mirror.postmarketos.org/postmarketos/master/x86_64/APKINDEX.tar.gz
(002329) [18:48:22] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fbf6a6bb13f455234f8410708d660d6939b023713fb7426b3335eb2673669e92 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.bdd0d494.tar.gz
(002329) [18:48:22] Download http://dl-4.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
(002329) [18:48:28] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_aa67e23cbb4d0d6bd4a068d4c1ffaddafc17982b20d0b66bba28fd70e9dcca18 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.ed54c246.tar.gz
(002329) [18:48:28] Download http://dl-4.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
(002329) [18:48:35] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_98c2384a26483d9f5a647c0da3addb5180f319fb8359ed26c35bd8d941d5a68d /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.e76b60f6.tar.gz
(002329) [18:48:35] Download http://dl-4.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
(002329) [18:48:35] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b44671428b2a6d432bdd2a5fc8cee55ea633c42c3fc24145ccf43677cb953bb9 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.24c95890.tar.gz
(002329) [18:48:36] Download http://dl-4.alpinelinux.org/alpine/edge/main/x86_64/apk-tools-static-2.12.5-r1.apk
(002329) [18:48:37] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002329) [18:48:37] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002329) [18:48:37] extracted: /tmp/pmbootstrap351ltzv8apk
(002329) [18:48:37] extracted: /tmp/pmbootstrap4d26esqxsig
(002329) [18:48:37] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002329) [18:48:37] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstrap4d26esqxsig /tmp/pmbootstrap351ltzv8apk
Verified OK
(002329) [18:48:37] Verify the version reported by the apk.static binary (must match the package version 2.12.5-r1)
(002329) [18:48:37] % /tmp/pmbootstrap351ltzv8apk --version
apk-tools 2.12.5, compiled for x86_64.
(002329) [18:48:37] (native) install alpine-base
(002329) [18:48:37] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache
(002329) [18:48:37] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:37] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:37] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:37] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:37] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:37] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:37] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:37] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:37] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf
(002329) [18:48:37] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk
(002329) [18:48:37] (native) update /etc/apk/repositories
(002329) [18:48:37] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002329) [18:48:38] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002329) [18:48:38] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002329) [18:48:38] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002329) [18:48:38] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002329) [18:48:38] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
(002329) [18:48:38] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002329) [18:48:38] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002329) [18:48:38] % sudo sh -c exec 3>/home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo; /home/build/.local/var/pmbootstrap/apk.static --no-progress --progress-fd 3 --root /home/build/.local/var/pmbootstrap/chroot_native --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_x86_64 --initdb --arch x86_64 add alpine-base
(002329) [18:48:38] New background process: pid=2393, output=background
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/20) Installing musl (1.2.2-r3)
(2/20) Installing busybox (1.33.1-r4)
Executing busybox-1.33.1-r4.post-install
(3/20) Installing alpine-baselayout (3.2.0-r17)
Executing alpine-baselayout-3.2.0-r17.pre-install
Executing alpine-baselayout-3.2.0-r17.post-install
(4/20) Installing ifupdown-ng (0.11.3-r0)
(5/20) Installing openrc (0.43.3-r1)
Executing openrc-0.43.3-r1.post-install
(6/20) Installing alpine-conf (3.12.0-r0)
(7/20) Installing libcrypto1.1 (1.1.1k-r1)
(8/20) Installing libssl1.1 (1.1.1k-r1)
(9/20) Installing ca-certificates-bundle (20191127-r5)
(10/20) Installing libretls (3.3.3-r2)
(11/20) Installing ssl_client (1.33.1-r4)
(12/20) Installing zlib (1.2.11-r3)
(13/20) Installing apk-tools (2.12.5-r1)
(14/20) Installing busybox-suid (1.33.1-r4)
(15/20) Installing busybox-initscripts (3.2-r2)
Executing busybox-initscripts-3.2-r2.post-install
(16/20) Installing scanelf (1.3.2-r0)
(17/20) Installing musl-utils (1.2.2-r3)
(18/20) Installing libc-utils (0.7.2-r3)
(19/20) Installing alpine-keys (2.3-r1)
(20/20) Installing alpine-base (3.14.0-r0)
Executing busybox-1.33.1-r4.trigger
OK: 9 MiB in 20 packages
(002329) [18:48:41] (native) % adduser -D pmos -u 12345
(002329) [18:48:41] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild
(002329) [18:48:41] (native) % chown pmos:pmos /mnt/pmbootstrap-abuild-config
(002329) [18:48:41] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache
(002329) [18:48:41] (native) % chown pmos:pmos /mnt/pmbootstrap-ccache
(002329) [18:48:41] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(002329) [18:48:41] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos
(002329) [18:48:41] (native) % chown pmos:pmos /mnt/pmbootstrap-packages
(002329) [18:48:41] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(002329) [18:48:41] (native) % mkdir -p /mnt/pmbootstrap-rust/registry/index
(002329) [18:48:41] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/index /home/pmos/.cargo/registry/index
(002329) [18:48:42] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/index
(002329) [18:48:42] (native) % mkdir -p /mnt/pmbootstrap-rust/registry/cache
(002329) [18:48:42] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/cache /home/pmos/.cargo/registry/cache
(002329) [18:48:42] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/cache
(002329) [18:48:42] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(002329) [18:48:42] (native) % mkdir -p /mnt/pmbootstrap-rust/git/db
(002329) [18:48:42] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/git/db /home/pmos/.cargo/git/db
(002329) [18:48:42] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/git/db
(002329) [18:48:42] (native) calculate depends of cryptsetup, util-linux, parted (pmbootstrap -v for details)
(002329) [18:48:45] (native) install cryptsetup util-linux parted
(002329) [18:48:45] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002329) [18:48:45] (native) % cat /tmp/apk_progress_fifo
(002329) [18:48:45] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add -u --virtual .pmbootstrap cryptsetup util-linux parted libblkid cryptsetup-libs popt libuuid device-mapper-libs ncurses-libs readline argon2-libs json-c ncurses-terminfo-base
(002329) [18:48:45] New background process: pid=2431, output=background
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/37) Installing libblkid (2.37-r2)
(2/37) Installing argon2-libs (20190702-r1)
(3/37) Installing device-mapper-libs (2.02.187-r1)
(4/37) Installing json-c (0.15-r1)
(5/37) Installing libuuid (2.37-r2)
(6/37) Installing cryptsetup-libs (2.3.6-r0)
(7/37) Installing popt (1.18-r0)
(8/37) Installing cryptsetup (2.3.6-r0)
(9/37) Installing util-linux (2.37-r2)
(10/37) Installing libeconf (0.3.8-r1)
(11/37) Installing libfdisk (2.37-r2)
(12/37) Installing libmount (2.37-r2)
(13/37) Installing ncurses-terminfo-base (6.2_p20210626-r0)
(14/37) Installing ncurses-libs (6.2_p20210626-r0)
(15/37) Installing libsmartcols (2.37-r2)
(16/37) Installing util-linux-misc (2.37-r2)
(17/37) Installing linux-pam (1.5.1-r1)
(18/37) Installing runuser (2.37-r2)
(19/37) Installing hexdump (2.37-r2)
(20/37) Installing uuidgen (2.37-r2)
(21/37) Installing blkid (2.37-r2)
(22/37) Installing sfdisk (2.37-r2)
(23/37) Installing mcookie (2.37-r2)
(24/37) Installing wipefs (2.37-r2)
(25/37) Installing cfdisk (2.37-r2)
(26/37) Installing flock (2.37-r2)
(27/37) Installing lsblk (2.37-r2)
(28/37) Installing libcap-ng (0.8.2-r0)
(29/37) Installing setpriv (2.37-r2)
(30/37) Installing logger (2.37-r2)
(31/37) Installing partx (2.37-r2)
(32/37) Installing findmnt (2.37-r2)
(33/37) Installing readline (8.1.0-r0)
(34/37) Installing parted (3.4-r0)
(35/37) Installing .pmbootstrap (20210702.184845)
(36/37) Installing cryptsetup-openrc (2.3.6-r0)
(37/37) Installing util-linux-openrc (2.37-r2)
Executing busybox-1.33.1-r4.trigger
OK: 19 MiB in 57 packages
(002329) [18:48:51] (native) % apk --no-progress add cryptsetup util-linux parted
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
OK: 19 MiB in 57 packages
(002329) [18:48:52] (native) % apk --no-progress del .pmbootstrap
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/1) Purging .pmbootstrap (20210702.184845)
OK: 19 MiB in 56 packages
(002329) [18:48:52] *** (2/4) CREATE DEVICE ROOTFS ("pine64-pinebookpro") ***
(002329) [18:48:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/dev
(002329) [18:48:52] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/dev
(002329) [18:48:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/dev/pts /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/dev/shm
(002329) [18:48:52] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/dev/shm
(002329) [18:48:52] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/dev/null c 1 3
(002329) [18:48:52] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/dev/zero c 1 5
(002329) [18:48:52] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/dev/full c 1 7
(002329) [18:48:52] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/dev/random c 1 8
(002329) [18:48:52] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/dev/urandom c 1 9
(002329) [18:48:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/proc
(002329) [18:48:52] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/proc
(002329) [18:48:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_apk_aarch64
(002329) [18:48:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/var/cache/apk
(002329) [18:48:52] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_aarch64 /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/var/cache/apk
(002329) [18:48:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_aarch64
(002329) [18:48:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-ccache
(002329) [18:48:52] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_aarch64 /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-ccache
(002329) [18:48:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/var/cache/distfiles
(002329) [18:48:52] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/var/cache/distfiles
(002329) [18:48:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-git
(002329) [18:48:52] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-git
(002329) [18:48:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-rust
(002329) [18:48:52] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-rust
(002329) [18:48:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-abuild-config
(002329) [18:48:52] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-abuild-config
(002329) [18:48:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/etc/apk/keys
(002329) [18:48:52] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/etc/apk/keys
(002329) [18:48:52] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-packages
(002329) [18:48:52] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-packages
(002329) [18:48:52] (native) calculate depends of qemu-aarch64 (pmbootstrap -v for details)
(002329) [18:48:52] (native) install qemu-aarch64
(002329) [18:48:52] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002329) [18:48:52] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002329) [18:48:52] (native) % cat /tmp/apk_progress_fifo
(002329) [18:48:52] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add qemu-aarch64
(002329) [18:48:52] New background process: pid=2469, output=background
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/1) Installing qemu-aarch64 (6.0.0-r4)
Executing busybox-1.33.1-r4.trigger
OK: 23 MiB in 57 packages
(002329) [18:48:54] Register qemu binfmt (aarch64)
(002329) [18:48:54] % sudo sh -c echo ":qemu-aarch64:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-aarch64-static:C" > /proc/sys/fs/binfmt_misc/register
(002329) [18:48:54] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/usr/bin
(002329) [18:48:54] % sudo touch /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/usr/bin/qemu-aarch64-static
(002329) [18:48:54] % sudo mount --bind /home/build/.local/var/pmbootstrap/chroot_native/usr/bin/qemu-aarch64 /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/usr/bin/qemu-aarch64-static
(002329) [18:48:54] % sudo touch /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/in-pmbootstrap
(002329) [18:48:54] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002329) [18:48:54] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002329) [18:48:54] extracted: /tmp/pmbootstraph0aem25kapk
(002329) [18:48:54] extracted: /tmp/pmbootstrapemuh2u8esig
(002329) [18:48:54] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002329) [18:48:54] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstrapemuh2u8esig /tmp/pmbootstraph0aem25kapk
Verified OK
(002329) [18:48:54] Verify the version reported by the apk.static binary (must match the package version 2.12.5-r1)
(002329) [18:48:54] % /tmp/pmbootstraph0aem25kapk --version
apk-tools 2.12.5, compiled for x86_64.
(002329) [18:48:54] (rootfs_pine64-pinebookpro) install alpine-base
(002329) [18:48:54] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/etc/apk/cache
(002329) [18:48:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(002329) [18:48:54] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/etc/resolv.conf
(002329) [18:48:54] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/etc/apk
(002329) [18:48:54] (rootfs_pine64-pinebookpro) update /etc/apk/repositories
(002329) [18:48:54] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/etc/apk/repositories
(002329) [18:48:54] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/etc/apk/repositories
(002329) [18:48:54] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/etc/apk/repositories
(002329) [18:48:54] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/etc/apk/repositories
(002329) [18:48:54] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/etc/apk/repositories
(002329) [18:48:54] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/master/aarch64/APKINDEX.tar.gz
(002329) [18:48:54] APKINDEX outdated (file does not exist yet): http://dl-4.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz
(002329) [18:48:54] APKINDEX outdated (file does not exist yet): http://dl-4.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
(002329) [18:48:54] APKINDEX outdated (file does not exist yet): http://dl-4.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
(002329) [18:48:54] Update package index for aarch64 (4 file(s))
(002329) [18:48:54] Download http://mirror.postmarketos.org/postmarketos/master/aarch64/APKINDEX.tar.gz
(002329) [18:48:54] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_2133489a116f2a4aa3cb24bfb99e043d59160ca5cc7fead69e7c3f2240547e0e /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.bdd0d494.tar.gz
(002329) [18:48:54] Download http://dl-4.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz
(002329) [18:48:55] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_f9fd7303ccd5a7545cbbbbf6a6521c658eb4a82b5a2969475eddfd959a6b6f5e /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.ed54c246.tar.gz
(002329) [18:48:55] Download http://dl-4.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
(002329) [18:48:56] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_8fa17a917c8feaef263e4afd0ce30e6f4aa5b60e80ef929d22347a0411a6fb75 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.e76b60f6.tar.gz
(002329) [18:48:56] Download http://dl-4.alpinelinux.org/alpine/edge/testing/aarch64/APKINDEX.tar.gz
(002329) [18:48:56] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_447f8e42290c964e3470b62ff647b539aa1a8530d0bdb6ac1106c790f8ccea87 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.24c95890.tar.gz
(002329) [18:48:56] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
(002329) [18:48:56] % sudo rm -f /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002329) [18:48:57] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002329) [18:48:57] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002329) [18:48:57] % sudo sh -c exec 3>/home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo; /home/build/.local/var/pmbootstrap/apk.static --no-progress --progress-fd 3 --root /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_aarch64 --initdb --arch aarch64 add alpine-base
(002329) [18:48:57] New background process: pid=2504, output=background
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/20) Installing musl (1.2.2-r3)
(2/20) Installing busybox (1.33.1-r4)
Executing busybox-1.33.1-r4.post-install
(3/20) Installing alpine-baselayout (3.2.0-r17)
Executing alpine-baselayout-3.2.0-r17.pre-install
Executing alpine-baselayout-3.2.0-r17.post-install
(4/20) Installing ifupdown-ng (0.11.3-r0)
(5/20) Installing openrc (0.43.3-r1)
Executing openrc-0.43.3-r1.post-install
(6/20) Installing alpine-conf (3.12.0-r0)
(7/20) Installing libcrypto1.1 (1.1.1k-r1)
(8/20) Installing libssl1.1 (1.1.1k-r1)
(9/20) Installing ca-certificates-bundle (20191127-r5)
(10/20) Installing libretls (3.3.3-r2)
(11/20) Installing ssl_client (1.33.1-r4)
(12/20) Installing zlib (1.2.11-r3)
(13/20) Installing apk-tools (2.12.5-r1)
(14/20) Installing busybox-suid (1.33.1-r4)
(15/20) Installing busybox-initscripts (3.2-r2)
Executing busybox-initscripts-3.2-r2.post-install
(16/20) Installing scanelf (1.3.2-r0)
(17/20) Installing musl-utils (1.2.2-r3)
(18/20) Installing libc-utils (0.7.2-r3)
(19/20) Installing alpine-keys (2.3-r1)
(20/20) Installing alpine-base (3.14.0-r0)
Executing busybox-1.33.1-r4.trigger
OK: 8 MiB in 20 packages
(002329) [18:49:02] (rootfs_pine64-pinebookpro) % getent passwd user
(002329) [18:49:02] (rootfs_pine64-pinebookpro) % adduser -D -u 10000 user
(002329) [18:49:03] (rootfs_pine64-pinebookpro) % addgroup -S wheel
addgroup: group 'wheel' in use
(002329) [18:49:03] (rootfs_pine64-pinebookpro) % addgroup user wheel
(002329) [18:49:03] (rootfs_pine64-pinebookpro) % addgroup -S video
addgroup: group 'video' in use
(002329) [18:49:03] (rootfs_pine64-pinebookpro) % addgroup user video
(002329) [18:49:03] (rootfs_pine64-pinebookpro) % addgroup -S audio
addgroup: group 'audio' in use
(002329) [18:49:03] (rootfs_pine64-pinebookpro) % addgroup user audio
(002329) [18:49:03] (rootfs_pine64-pinebookpro) % addgroup -S input
addgroup: group 'input' in use
(002329) [18:49:03] (rootfs_pine64-pinebookpro) % addgroup user input
(002329) [18:49:03] (rootfs_pine64-pinebookpro) % addgroup -S plugdev
(002329) [18:49:03] (rootfs_pine64-pinebookpro) % addgroup user plugdev
(002329) [18:49:03] (rootfs_pine64-pinebookpro) % addgroup -S netdev
addgroup: group 'netdev' in use
(002329) [18:49:03] (rootfs_pine64-pinebookpro) % addgroup user netdev
(002329) [18:49:03] (rootfs_pine64-pinebookpro) calculate depends of postmarketos-base, device-pine64-pinebookpro, device-pine64-pinebookpro-nonfree-firmware, postmarketos-base-nofde (pmbootstrap -v for details)
(002329) [18:49:06] openssh-client: picked provider(s) with higest priority 1: openssh-client-default
(002329) [18:49:06] (rootfs_pine64-pinebookpro) install postmarketos-base device-pine64-pinebookpro device-pine64-pinebookpro-nonfree-firmware postmarketos-base-nofde
(002329) [18:49:06] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/tmp/apk_progress_fifo
(002329) [18:49:06] (rootfs_pine64-pinebookpro) % cat /tmp/apk_progress_fifo
(002329) [18:49:06] (rootfs_pine64-pinebookpro) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add -u --virtual .pmbootstrap postmarketos-base device-pine64-pinebookpro device-pine64-pinebookpro-nonfree-firmware postmarketos-base-nofde eudev openssh postmarketos-mkinitfs postmarketos-mvcfg sudo linux-postmarketos-rockchip u-boot-pinebookpro mesa-dri-gallium alsa-ucm-conf firmware-pine64-pinebookpro udev-init-scripts eudev-libs libblkid kmod-libs openssh-client-default openssh-sftp-server openssh-server busybox-extras bzip2 cryptsetup device-mapper e2fsprogs e2fsprogs-extra f2fs-tools kmod lddtree lz4 multipath-tools parted xz mesa llvm11-libs libdrm libelf expat libgcc mesa-glapi libstdc++ zstd-libs xz-libs openssh-keygen openssh-client-common openssh-server-common cryptsetup-libs popt libuuid lvm2-libs device-mapper-libs libcom_err e2fsprogs-libs f2fs-tools-libs libaio json-c readline userspace-rcu ncurses-libs libffi libxml2 libbz2 fts libedit argon2-libs device-mapper-event-libs ncurses-terminfo-base
(002329) [18:49:06] New background process: pid=2591, output=background
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/75) Installing udev-init-scripts (34-r0)
Executing udev-init-scripts-34-r0.post-install
(2/75) Installing udev-init-scripts-openrc (34-r0)
(3/75) Installing eudev-libs (3.2.10-r1)
(4/75) Installing libblkid (2.37-r2)
(5/75) Installing xz-libs (5.2.5-r0)
(6/75) Installing zstd-libs (1.5.0-r0)
(7/75) Installing kmod-libs (29-r0)
(8/75) Installing eudev (3.2.10-r1)
(9/75) Installing eudev-openrc (3.2.10-r1)
(10/75) Installing openssh-keygen (8.6_p1-r2)
(11/75) Installing ncurses-terminfo-base (6.2_p20210626-r0)
(12/75) Installing ncurses-libs (6.2_p20210626-r0)
(13/75) Installing libedit (20210216.3.1-r0)
(14/75) Installing openssh-client-common (8.6_p1-r2)
(15/75) Installing openssh-client-default (8.6_p1-r2)
(16/75) Installing openssh-sftp-server (8.6_p1-r2)
(17/75) Installing openssh-server-common (8.6_p1-r2)
(18/75) Installing openssh-server (8.6_p1-r2)
(19/75) Installing openssh (8.6_p1-r2)
(20/75) Installing busybox-extras (1.33.1-r4)
Executing busybox-extras-1.33.1-r4.post-install
(21/75) Installing bzip2 (1.0.8-r1)
(22/75) Installing argon2-libs (20190702-r1)
(23/75) Installing device-mapper-libs (2.02.187-r1)
(24/75) Installing json-c (0.15-r1)
(25/75) Installing libuuid (2.37-r2)
(26/75) Installing cryptsetup-libs (2.3.6-r0)
(27/75) Installing popt (1.18-r0)
(28/75) Installing cryptsetup (2.3.6-r0)
(29/75) Installing cryptsetup-openrc (2.3.6-r0)
(30/75) Installing libaio (0.3.112-r1)
(31/75) Installing device-mapper-event-libs (2.02.187-r1)
(32/75) Installing lvm2-libs (2.02.187-r1)
(33/75) Installing device-mapper (2.02.187-r1)
(34/75) Installing device-mapper-udev (2.02.187-r1)
Executing device-mapper-udev-2.02.187-r1.post-install
(35/75) Installing libcom_err (1.46.2-r0)
(36/75) Installing e2fsprogs-libs (1.46.2-r0)
(37/75) Installing e2fsprogs (1.46.2-r0)
(38/75) Installing e2fsprogs-extra (1.46.2-r0)
(39/75) Installing f2fs-tools-libs (1.14.0-r0)
(40/75) Installing f2fs-tools (1.14.0-r0)
(41/75) Installing kmod (29-r0)
(42/75) Installing kmod-openrc (29-r0)
(43/75) Installing lddtree (1.26-r2)
(44/75) Installing lz4 (1.9.3-r0)
(45/75) Installing readline (8.1.0-r0)
(46/75) Installing userspace-rcu (0.12.2-r0)
(47/75) Installing multipath-tools (0.8.6-r0)
(48/75) Installing multipath-tools-openrc (0.8.6-r0)
(49/75) Installing parted (3.4-r0)
(50/75) Installing postmarketos-mvcfg (1-r0)
(51/75) Installing sudo (1.9.7_p1-r1)
(52/75) Installing postmarketos-base-nofde (12-r1)
(53/75) Installing xz (5.2.5-r0)
(54/75) Installing postmarketos-mkinitfs (0.27-r0)
(55/75) Installing postmarketos-base (12-r1)
Executing postmarketos-base-12-r1.post-install
(56/75) Installing linux-postmarketos-rockchip (5.11.2-r1)
(57/75) Installing u-boot-pinebookpro (2020.07-r1)
(58/75) Installing mesa (21.1.3-r0)
(59/75) Installing libffi (3.3-r2)
(60/75) Installing libgcc (10.3.1_git20210625-r0)
(61/75) Installing libstdc++ (10.3.1_git20210625-r0)
(62/75) Installing libxml2 (2.9.12-r1)
(63/75) Installing llvm11-libs (11.1.0-r2)
(64/75) Installing libdrm (2.4.106-r0)
(65/75) Installing libbz2 (1.0.8-r1)
(66/75) Installing fts (1.2.7-r1)
(67/75) Installing libelf (0.182-r1)
(68/75) Installing expat (2.4.1-r0)
(69/75) Installing mesa-glapi (21.1.3-r0)
(70/75) Installing mesa-dri-gallium (21.1.3-r0)
(71/75) Installing alsa-ucm-conf (1.2.5.1-r0)
(72/75) Installing device-pine64-pinebookpro (1-r1)
Executing device-pine64-pinebookpro-1-r1.post-install
UPDATING HWDB...
 * service sysfsconf added to runlevel default
(73/75) Installing firmware-pine64-pinebookpro (1-r0)
(74/75) Installing device-pine64-pinebookpro-nonfree-firmware (1-r1)
(75/75) Installing .pmbootstrap (20210702.184907)
Executing busybox-1.33.1-r4.trigger
Executing eudev-3.2.10-r1.trigger
Executing kmod-29-r0.trigger
Executing postmarketos-mkinitfs-0.27-r0.trigger
==> initramfs: creating /boot/initramfs-postmarketos-rockchip
Scanning kernel module dependencies...
NOTE: ** modprobe warnings below can be ignored ** if your device does not run the
mainline kernel yet (most devices!) or if the related kernel options are enabled
with 'y' instead of 'm' (module).
 - deviceinfo: panel_simple pwm_bl rockchipdrm dw_mipi_dsi drm_kms_helper gpu_sched rockchip_rga dw_wdt videobuf2_dma_sg analogix_dp drm_panel_orientation_quirks
 - 00-default.modules: dm_crypt ext4 usb_f_rndis f2fs
==> initramfs: creating /boot/initramfs-postmarketos-rockchip-extra
Executing postmarketos-base-12-r1.trigger
OK: 287 MiB in 95 packages
(002329) [18:50:28] (rootfs_pine64-pinebookpro) % apk --no-progress add postmarketos-base device-pine64-pinebookpro device-pine64-pinebookpro-nonfree-firmware postmarketos-base-nofde
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
OK: 287 MiB in 95 packages
(002329) [18:50:30] (rootfs_pine64-pinebookpro) % apk --no-progress del .pmbootstrap
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/1) Purging .pmbootstrap (20210702.184907)
OK: 287 MiB in 94 packages
(002329) [18:50:31] (rootfs_pine64-pinebookpro) calculate depends of device-pine64-pinebookpro (pmbootstrap -v for details)
(002329) [18:50:31] (rootfs_pine64-pinebookpro) calculate depends of postmarketos-mkinitfs (pmbootstrap -v for details)
(002329) [18:50:31] (rootfs_pine64-pinebookpro) calculate depends of  (pmbootstrap -v for details)
(002329) [18:50:31] (rootfs_pine64-pinebookpro) mkinitfs postmarketos-rockchip
(002329) [18:50:31] (rootfs_pine64-pinebookpro) % mkinitfs -o /boot/initramfs-postmarketos-rockchip 5.11.2
==> initramfs: creating /boot/initramfs-postmarketos-rockchip
Scanning kernel module dependencies...
NOTE: ** modprobe warnings below can be ignored ** if your device does not run the
mainline kernel yet (most devices!) or if the related kernel options are enabled
with 'y' instead of 'm' (module).
 - deviceinfo: panel_simple pwm_bl rockchipdrm dw_mipi_dsi drm_kms_helper gpu_sched rockchip_rga dw_wdt videobuf2_dma_sg analogix_dp drm_panel_orientation_quirks
 - 00-default.modules: dm_crypt ext4 usb_f_rndis f2fs
==> initramfs: creating /boot/initramfs-postmarketos-rockchip-extra
(002329) [18:50:44]  *** SET LOGIN PASSWORD FOR: 'user' ***
(002329) [18:50:44] (rootfs_pine64-pinebookpro) % passwd user
Changing password for user
New password: 
Bad password: too weak
Retype password: 
passwd: password for user changed by root
(002329) [18:50:44] (rootfs_pine64-pinebookpro) % passwd -l root
passwd: password for root changed by root
(002329) [18:50:44] NOTE: No valid keymap specified for device
(002329) [18:50:44] (rootfs_pine64-pinebookpro) % setup-timezone -z GMT
(002329) [18:50:48] (rootfs_pine64-pinebookpro) % sh -c echo pine64-pinebookpro > /etc/hostname
(002329) [18:50:48] (rootfs_pine64-pinebookpro) % sed -i -e s/^127\.0\.0\.1.*/127.0.0.1\tpine64\-pinebookpro localhost.localdomain localhost/ /etc/hosts
(002329) [18:50:48] (rootfs_pine64-pinebookpro) % rc-update del sshd default
 * service sshd removed from runlevel default
(002329) [18:50:49] % cd /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/etc/runlevels; sudo find -name sshd
(002329) [18:50:49] (rootfs_pine64-pinebookpro) % rm /in-pmbootstrap
(002329) [18:50:49] *** (3/4) PREPARE INSTALL BLOCKDEVICE ***
(002329) [18:50:49] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/var/cache/distfiles
(002329) [18:50:49] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/var/cache/apk
(002329) [18:50:49] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/usr/bin/qemu-aarch64-static
(002329) [18:50:49] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/proc
(002329) [18:50:49] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-rust
(002329) [18:50:49] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-packages
(002329) [18:50:49] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-git
(002329) [18:50:49] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-ccache
(002329) [18:50:49] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/mnt/pmbootstrap-abuild-config
(002329) [18:50:49] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/etc/apk/keys
(002329) [18:50:49] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/dev/shm
(002329) [18:50:49] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/dev
(002329) [18:50:49] % sudo du -ks /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro
296740	/home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro
(002329) [18:50:49] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/rootfs
(002329) [18:50:49] (native) create pine64-pinebookpro.img (654M)
(002329) [18:50:49] (native) % truncate -s 654M /home/pmos/rootfs/pine64-pinebookpro.img
(002329) [18:50:49] (native) mount /dev/install (pine64-pinebookpro.img)
(002329) [18:50:49] (native) mount /home/pmos/rootfs/pine64-pinebookpro.img (loop)
(002329) [18:50:49] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop7
(002329) [18:50:49] % sudo mount --bind /dev/loop7 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop7
(002329) [18:50:49] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop6
(002329) [18:50:49] % sudo mount --bind /dev/loop6 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop6
(002329) [18:50:49] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop5
(002329) [18:50:49] % sudo mount --bind /dev/loop5 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop5
(002329) [18:50:49] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop4
(002329) [18:50:49] % sudo mount --bind /dev/loop4 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop4
(002329) [18:50:49] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop3
(002329) [18:50:49] % sudo mount --bind /dev/loop3 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop3
(002329) [18:50:49] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop2
(002329) [18:50:49] % sudo mount --bind /dev/loop2 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop2
(002329) [18:50:49] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop1
(002329) [18:50:49] % sudo mount --bind /dev/loop1 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop1
(002329) [18:50:49] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop0
(002329) [18:50:49] % sudo mount --bind /dev/loop0 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop0
(002329) [18:50:49] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop-control
(002329) [18:50:49] % sudo mount --bind /dev/loop-control /home/build/.local/var/pmbootstrap/chroot_native//dev/loop-control
(002329) [18:50:49] (native) % losetup -f /home/pmos/rootfs/pine64-pinebookpro.img
(002329) [18:50:49] (native) % losetup --json --list
{
   "loopdevices": [
      {
         "name": "/dev/loop0",
         "sizelimit": 0,
         "offset": 0,
         "autoclear": false,
         "ro": false,
         "back-file": "/home/pmos/rootfs/pine64-pinebookpro.img",
         "dio": false,
         "log-sec": 512
      }
   ]
}
(002329) [18:50:49] (native) % losetup --json --list
{
   "loopdevices": [
      {
         "name": "/dev/loop0",
         "sizelimit": 0,
         "offset": 0,
         "autoclear": false,
         "ro": false,
         "back-file": "/home/pmos/rootfs/pine64-pinebookpro.img",
         "dio": false,
         "log-sec": 512
      }
   ]
}
(002329) [18:50:49] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/dev/install
(002329) [18:50:49] % sudo mount --bind /dev/loop0 /home/build/.local/var/pmbootstrap/chroot_native/dev/install
(002329) [18:50:49] (native) partition /dev/install (boot: 256M, reserved: 0M, root: the rest)
(002329) [18:50:49] (native) % parted -s /dev/install mktable msdos
(002329) [18:50:49] (native) % parted -s /dev/install mkpart primary ext2 32768s 256M
(002329) [18:50:49] (native) % parted -s /dev/install mkpart primary 256M 100%
(002329) [18:50:49] (native) % parted -s /dev/install set 1 boot on
(002329) [18:50:49] (native) % losetup --json --list
{
   "loopdevices": [
      {
         "name": "/dev/loop0",
         "sizelimit": 0,
         "offset": 0,
         "autoclear": false,
         "ro": false,
         "back-file": "/home/pmos/rootfs/pine64-pinebookpro.img",
         "dio": false,
         "log-sec": 512
      }
   ]
}
(002329) [18:50:49] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/dev/installp1
(002329) [18:50:49] % sudo mount --bind /dev/loop0p1 /home/build/.local/var/pmbootstrap/chroot_native/dev/installp1
(002329) [18:50:49] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/dev/installp2
(002329) [18:50:49] % sudo mount --bind /dev/loop0p2 /home/build/.local/var/pmbootstrap/chroot_native/dev/installp2
(002329) [18:50:49] (native) calculate depends of e2fsprogs (pmbootstrap -v for details)
(002329) [18:50:49] (native) install e2fsprogs
(002329) [18:50:49] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002329) [18:50:49] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002329) [18:50:49] (native) % cat /tmp/apk_progress_fifo
(002329) [18:50:49] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add -u --virtual .pmbootstrap e2fsprogs libcom_err e2fsprogs-libs
(002329) [18:50:49] New background process: pid=6234, output=background
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/4) Installing libcom_err (1.46.2-r0)
(2/4) Installing e2fsprogs-libs (1.46.2-r0)
(3/4) Installing e2fsprogs (1.46.2-r0)
(4/4) Installing .pmbootstrap (20210702.185050)
Executing busybox-1.33.1-r4.trigger
OK: 24 MiB in 61 packages
(002329) [18:50:52] (native) % apk --no-progress add e2fsprogs
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
OK: 24 MiB in 61 packages
(002329) [18:50:53] (native) % apk --no-progress del .pmbootstrap
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/1) Purging .pmbootstrap (20210702.185050)
OK: 24 MiB in 60 packages
(002329) [18:50:53] (native) format /dev/installp2 (root, ext4)
(002329) [18:50:53] (native) % mkfs.ext4 -O ^metadata_csum -F -q -L pmOS_root -N 100000 /dev/installp2
(002329) [18:50:53] (native) mount /dev/installp2 to /mnt/install
(002329) [18:50:53] (native) % mkdir -p /mnt/install
(002329) [18:50:53] (native) % mount /dev/installp2 /mnt/install
(002329) [18:50:53] (native) calculate depends of e2fsprogs (pmbootstrap -v for details)
(002329) [18:50:54] (native) format /dev/installp1 (boot, ext2), mount to mountpoint
(002329) [18:50:54] (native) % mkfs.ext2 -F -q -L pmOS_boot /dev/installp1
(002329) [18:50:54] (native) % mkdir -p /mnt/install/boot
(002329) [18:50:54] (native) % mount /dev/installp1 /mnt/install/boot
(002329) [18:50:54] *** (4/4) FILL INSTALL BLOCKDEVICE ***
(002329) [18:50:54] (native) copy rootfs_pine64-pinebookpro to /mnt/install/
(002329) [18:50:54] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/rootfs_pine64-pinebookpro
(002329) [18:50:54] % sudo mount --bind /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro /home/build/.local/var/pmbootstrap/chroot_native/mnt/rootfs_pine64-pinebookpro
(002329) [18:50:54] % sudo rm /home/build/.local/var/pmbootstrap/chroot_native/mnt/rootfs_pine64-pinebookpro/usr/bin/qemu-aarch64-static
(002329) [18:50:54] % sudo rm /home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/tmp/apk_progress_fifo
(002329) [18:50:54] (native) % cd /mnt/rootfs_pine64-pinebookpro; cp -a var lib usr srv boot sys tmp mnt opt root bin etc media sbin dev run proc /mnt/install/
(002329) [18:50:54] % sudo mkdir /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/home
(002329) [18:50:54] % sudo mkdir /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/home/user
(002329) [18:50:54] % sudo chown -R 10000 /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/home/user
(002329) [18:50:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002329) [18:50:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002329) [18:50:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002329) [18:50:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002329) [18:50:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002329) [18:50:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002329) [18:50:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002329) [18:50:54] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002329) [18:50:54] % sudo sed -i /\/mnt\/pmbootstrap-packages/d /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/repositories
(002329) [18:50:54] % cat /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/repositories
http://mirror.postmarketos.org/postmarketos/master
http://dl-4.alpinelinux.org/alpine/edge/main
http://dl-4.alpinelinux.org/alpine/edge/community
http://dl-4.alpinelinux.org/alpine/edge/testing
(002329) [18:50:54] Embed firmware u-boot/pine64-rockpro64/u-boot-rockchip.bin in the SD card image at offset 32 with step size 1024
(002329) [18:50:54] (native) % dd if=/mnt/rootfs_pine64-pinebookpro/usr/share/u-boot/pine64-rockpro64/u-boot-rockchip.bin of=/dev/install bs=1024 seek=32
9234+1 records in
9234+1 records out
(002329) [18:50:54] % sudo umount /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/boot
(002329) [18:50:54] % sudo umount /home/build/.local/var/pmbootstrap/chroot_native/mnt/install
(002329) [18:50:55] (native) % losetup --json --list
{
   "loopdevices": [
      {
         "name": "/dev/loop0",
         "sizelimit": 0,
         "offset": 0,
         "autoclear": false,
         "ro": false,
         "back-file": "/home/pmos/rootfs/pine64-pinebookpro.img",
         "dio": false,
         "log-sec": 512
      }
   ]
}
(002329) [18:50:55] (native) umount /dev/loop0
(002329) [18:50:55] (native) % losetup -d /dev/loop0
(002329) [18:50:55] 
(002329) [18:50:55] *** FLASHING INFORMATION ***
(002329) [18:50:55] Refer to the installation instructions of your device, or the generic install instructions in the wiki.
(002329) [18:50:55] https://wiki.postmarketos.org/wiki/Installation_guide#pmbootstrap_flash
(002329) [18:50:55] 
(002329) [18:50:55] *** SSH DAEMON INFORMATION ***
(002329) [18:50:55] SSH daemon is disabled (--no-sshd).
(002329) [18:50:55] 
(002329) [18:50:55] *** FIREWALL INFORMATION ***
(002329) [18:50:55] Firewall is enabled, but will not work (no support in kernel config for nftables).
(002329) [18:50:55] If/when the kernel supports it in the future, it will work automatically.
(002329) [18:50:55] For more information: https://postmarketos.org/firewall
(002329) [18:50:55] 
(002329) [18:50:55] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(002329) [18:50:55] Done
++ pmbootstrap config work
+ '[' -e /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/rootfs/pine64-pinebookpro.img ']'
++ pmbootstrap config work
+ sudo mv /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/rootfs/pine64-pinebookpro.img out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img
+ ls -lh out
total 341M
-rw-r--r-- 1 root 12345 654M Jul  2 18:50 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img
img_bootimg
1
2
3
4
5
6
7
8
9
10
+ export BPO_JOB_ID=537107
+ BPO_JOB_ID=537107
++ cat img-prefix
+ IMG_PREFIX=20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro
++ pmbootstrap config work
+ for i in $(pmbootstrap config work)/chroot_rootfs_pine64-pinebookpro/boot/boot.img-*
+ '[' -e '/home/build/.local/var/pmbootstrap/chroot_rootfs_pine64-pinebookpro/boot/boot.img-*' ']'
+ ls -lh out
total 341M
-rw-r--r-- 1 root 12345 654M Jul  2 18:50 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img
img_installer
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
+ export BPO_JOB_ID=537107
+ BPO_JOB_ID=537107
++ cat img-prefix
+ IMG_PREFIX=20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro
+ pmbootstrap config extra_space 60
[18:50:57] Config changed: extra_space='60'
+ pmbootstrap -q -y zap -p
++ pmbootstrap config work
+ sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/var/lib
++ pmbootstrap config work
+ sudo ln out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/var/lib/rootfs.img
+ pmbootstrap -m http://dl-4.alpinelinux.org/alpine/ -mp http://mirror.postmarketos.org/postmarketos/ --details-to-stdout install --no-sshd --no-local-pkgs --ondev --no-rootfs
(006327) [18:50:58] % cd /home/build/pmaports; git remote -v
origin	https://gitlab.com/postmarketOS/pmaports.git/ (fetch)
origin	https://gitlab.com/postmarketOS/pmaports.git/ (push)
(006327) [18:50:58] % cd /home/build/pmaports; git show origin/master:channels.cfg
# Reference: https://postmarketos.org/channels.cfg
[channels.cfg]
recommended=edge

[edge]
description=Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
branch_pmaports=master
branch_aports=master
mirrordir_alpine=edge

[v21.06]
description=Upcoming stable release (DO NOT USE)
branch_pmaports=v21.06
branch_aports=3.14-stable
mirrordir_alpine=v3.14

[v21.03]
description=Latest release / Recommended for best stability
branch_pmaports=v21.03
branch_aports=3.13-stable
mirrordir_alpine=v3.13

[v20.05]
description=Old release (unsupported)
branch_pmaports=v20.05
branch_aports=3.12-stable
mirrordir_alpine=v3.12
(006327) [18:51:02] *** (1/4) PREPARE NATIVE CHROOT ***
(006327) [18:51:02] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet!
(006327) [18:51:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev
(006327) [18:51:02] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev
(006327) [18:51:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(006327) [18:51:02] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(006327) [18:51:02] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3
(006327) [18:51:02] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5
(006327) [18:51:02] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7
(006327) [18:51:02] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8
(006327) [18:51:02] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9
(006327) [18:51:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc
(006327) [18:51:02] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc
(006327) [18:51:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(006327) [18:51:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(006327) [18:51:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache
(006327) [18:51:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-ccache
(006327) [18:51:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(006327) [18:51:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(006327) [18:51:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git
(006327) [18:51:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-git
(006327) [18:51:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-rust
(006327) [18:51:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-rust
(006327) [18:51:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config
(006327) [18:51:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-abuild-config
(006327) [18:51:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(006327) [18:51:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(006327) [18:51:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/edge
(006327) [18:51:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages
(006327) [18:51:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap-packages
(006327) [18:51:02] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
(006327) [18:51:03] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(006327) [18:51:03] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(006327) [18:51:03] extracted: /tmp/pmbootstrapom3mdlv1apk
(006327) [18:51:03] extracted: /tmp/pmbootstrapcj8fabmvsig
(006327) [18:51:03] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(006327) [18:51:03] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstrapcj8fabmvsig /tmp/pmbootstrapom3mdlv1apk
Verified OK
(006327) [18:51:03] Verify the version reported by the apk.static binary (must match the package version 2.12.5-r1)
(006327) [18:51:03] % /tmp/pmbootstrapom3mdlv1apk --version
apk-tools 2.12.5, compiled for x86_64.
(006327) [18:51:03] (native) install alpine-base
(006327) [18:51:03] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache
(006327) [18:51:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:03] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf
(006327) [18:51:03] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk
(006327) [18:51:03] (native) update /etc/apk/repositories
(006327) [18:51:03] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(006327) [18:51:03] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(006327) [18:51:03] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(006327) [18:51:03] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(006327) [18:51:03] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(006327) [18:51:03] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
(006327) [18:51:03] % sudo rm -f /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(006327) [18:51:03] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(006327) [18:51:03] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(006327) [18:51:03] % sudo sh -c exec 3>/home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo; /home/build/.local/var/pmbootstrap/apk.static --no-progress --progress-fd 3 --root /home/build/.local/var/pmbootstrap/chroot_native --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_x86_64 --initdb --arch x86_64 add alpine-base
(006327) [18:51:03] New background process: pid=6381, output=background
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/20) Installing musl (1.2.2-r3)
(2/20) Installing busybox (1.33.1-r4)
Executing busybox-1.33.1-r4.post-install
(3/20) Installing alpine-baselayout (3.2.0-r17)
Executing alpine-baselayout-3.2.0-r17.pre-install
Executing alpine-baselayout-3.2.0-r17.post-install
(4/20) Installing ifupdown-ng (0.11.3-r0)
(5/20) Installing openrc (0.43.3-r1)
Executing openrc-0.43.3-r1.post-install
(6/20) Installing alpine-conf (3.12.0-r0)
(7/20) Installing libcrypto1.1 (1.1.1k-r1)
(8/20) Installing libssl1.1 (1.1.1k-r1)
(9/20) Installing ca-certificates-bundle (20191127-r5)
(10/20) Installing libretls (3.3.3-r2)
(11/20) Installing ssl_client (1.33.1-r4)
(12/20) Installing zlib (1.2.11-r3)
(13/20) Installing apk-tools (2.12.5-r1)
(14/20) Installing busybox-suid (1.33.1-r4)
(15/20) Installing busybox-initscripts (3.2-r2)
Executing busybox-initscripts-3.2-r2.post-install
(16/20) Installing scanelf (1.3.2-r0)
(17/20) Installing musl-utils (1.2.2-r3)
(18/20) Installing libc-utils (0.7.2-r3)
(19/20) Installing alpine-keys (2.3-r1)
(20/20) Installing alpine-base (3.14.0-r0)
Executing busybox-1.33.1-r4.trigger
OK: 9 MiB in 20 packages
(006327) [18:51:03] (native) % adduser -D pmos -u 12345
(006327) [18:51:03] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild
(006327) [18:51:03] (native) % chown pmos:pmos /mnt/pmbootstrap-abuild-config
(006327) [18:51:03] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache
(006327) [18:51:03] (native) % chown pmos:pmos /mnt/pmbootstrap-ccache
(006327) [18:51:03] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(006327) [18:51:03] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos
(006327) [18:51:03] (native) % chown pmos:pmos /mnt/pmbootstrap-packages
(006327) [18:51:03] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(006327) [18:51:03] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/index /home/pmos/.cargo/registry/index
(006327) [18:51:03] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/index
(006327) [18:51:03] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/cache /home/pmos/.cargo/registry/cache
(006327) [18:51:03] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/cache
(006327) [18:51:03] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(006327) [18:51:03] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/git/db /home/pmos/.cargo/git/db
(006327) [18:51:03] (native) % chown pmos:pmos /mnt/pmbootstrap-rust/git/db
(006327) [18:51:03] (native) calculate depends of cryptsetup, util-linux, parted (pmbootstrap -v for details)
(006327) [18:51:05] (native) install cryptsetup util-linux parted
(006327) [18:51:05] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(006327) [18:51:05] (native) % cat /tmp/apk_progress_fifo
(006327) [18:51:05] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add -u --virtual .pmbootstrap cryptsetup util-linux parted libblkid cryptsetup-libs popt libuuid device-mapper-libs ncurses-libs readline argon2-libs json-c ncurses-terminfo-base
(006327) [18:51:05] New background process: pid=6416, output=background
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/37) Installing libblkid (2.37-r2)
(2/37) Installing argon2-libs (20190702-r1)
(3/37) Installing device-mapper-libs (2.02.187-r1)
(4/37) Installing json-c (0.15-r1)
(5/37) Installing libuuid (2.37-r2)
(6/37) Installing cryptsetup-libs (2.3.6-r0)
(7/37) Installing popt (1.18-r0)
(8/37) Installing cryptsetup (2.3.6-r0)
(9/37) Installing util-linux (2.37-r2)
(10/37) Installing libeconf (0.3.8-r1)
(11/37) Installing libfdisk (2.37-r2)
(12/37) Installing libmount (2.37-r2)
(13/37) Installing ncurses-terminfo-base (6.2_p20210626-r0)
(14/37) Installing ncurses-libs (6.2_p20210626-r0)
(15/37) Installing libsmartcols (2.37-r2)
(16/37) Installing util-linux-misc (2.37-r2)
(17/37) Installing linux-pam (1.5.1-r1)
(18/37) Installing runuser (2.37-r2)
(19/37) Installing hexdump (2.37-r2)
(20/37) Installing uuidgen (2.37-r2)
(21/37) Installing blkid (2.37-r2)
(22/37) Installing sfdisk (2.37-r2)
(23/37) Installing mcookie (2.37-r2)
(24/37) Installing wipefs (2.37-r2)
(25/37) Installing cfdisk (2.37-r2)
(26/37) Installing flock (2.37-r2)
(27/37) Installing lsblk (2.37-r2)
(28/37) Installing libcap-ng (0.8.2-r0)
(29/37) Installing setpriv (2.37-r2)
(30/37) Installing logger (2.37-r2)
(31/37) Installing partx (2.37-r2)
(32/37) Installing findmnt (2.37-r2)
(33/37) Installing readline (8.1.0-r0)
(34/37) Installing parted (3.4-r0)
(35/37) Installing .pmbootstrap (20210702.185106)
(36/37) Installing cryptsetup-openrc (2.3.6-r0)
(37/37) Installing util-linux-openrc (2.37-r2)
Executing busybox-1.33.1-r4.trigger
OK: 19 MiB in 57 packages
(006327) [18:51:06] (native) % apk --no-progress add cryptsetup util-linux parted
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
OK: 19 MiB in 57 packages
(006327) [18:51:06] (native) % apk --no-progress del .pmbootstrap
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/1) Purging .pmbootstrap (20210702.185106)
OK: 19 MiB in 56 packages
(006327) [18:51:07] *** (2/4) CREATE ON-DEVICE INSTALLER ROOTFS ***
(006327) [18:51:07] NOTE: Skipped apk version check for chroot 'installer_pine64-pinebookpro', because it is not installed yet!
(006327) [18:51:07] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/dev
(006327) [18:51:07] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/dev
(006327) [18:51:07] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/dev/pts /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/dev/shm
(006327) [18:51:07] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/dev/shm
(006327) [18:51:07] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/dev/null c 1 3
(006327) [18:51:07] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/dev/zero c 1 5
(006327) [18:51:07] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/dev/full c 1 7
(006327) [18:51:07] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/dev/random c 1 8
(006327) [18:51:07] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/dev/urandom c 1 9
(006327) [18:51:07] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/proc
(006327) [18:51:07] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/proc
(006327) [18:51:07] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/var/cache/apk
(006327) [18:51:07] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_aarch64 /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/var/cache/apk
(006327) [18:51:07] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-ccache
(006327) [18:51:07] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_aarch64 /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-ccache
(006327) [18:51:07] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/var/cache/distfiles
(006327) [18:51:07] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/var/cache/distfiles
(006327) [18:51:07] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-git
(006327) [18:51:07] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-git
(006327) [18:51:07] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-rust
(006327) [18:51:07] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-rust
(006327) [18:51:07] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-abuild-config
(006327) [18:51:07] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-abuild-config
(006327) [18:51:07] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/etc/apk/keys
(006327) [18:51:07] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/etc/apk/keys
(006327) [18:51:07] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-packages
(006327) [18:51:07] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/edge /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-packages
(006327) [18:51:07] (native) calculate depends of qemu-aarch64 (pmbootstrap -v for details)
(006327) [18:51:07] (native) install qemu-aarch64
(006327) [18:51:07] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(006327) [18:51:07] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(006327) [18:51:07] (native) % cat /tmp/apk_progress_fifo
(006327) [18:51:07] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add qemu-aarch64
(006327) [18:51:07] New background process: pid=6452, output=background
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/1) Installing qemu-aarch64 (6.0.0-r4)
Executing busybox-1.33.1-r4.trigger
OK: 23 MiB in 57 packages
(006327) [18:51:07] Register qemu binfmt (aarch64)
(006327) [18:51:07] % sudo sh -c echo ":qemu-aarch64:M::\x7f\x45\x4c\x46\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/usr/bin/qemu-aarch64-static:C" > /proc/sys/fs/binfmt_misc/register
(006327) [18:51:07] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/usr/bin
(006327) [18:51:07] % sudo touch /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/usr/bin/qemu-aarch64-static
(006327) [18:51:07] % sudo mount --bind /home/build/.local/var/pmbootstrap/chroot_native/usr/bin/qemu-aarch64 /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/usr/bin/qemu-aarch64-static
(006327) [18:51:07] % sudo touch /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/in-pmbootstrap
(006327) [18:51:07] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(006327) [18:51:07] sigkey: alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(006327) [18:51:07] extracted: /tmp/pmbootstrapn5siok1zapk
(006327) [18:51:07] extracted: /tmp/pmbootstrapsc2b1gh_sig
(006327) [18:51:07] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(006327) [18:51:07] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub -signature /tmp/pmbootstrapsc2b1gh_sig /tmp/pmbootstrapn5siok1zapk
Verified OK
(006327) [18:51:07] Verify the version reported by the apk.static binary (must match the package version 2.12.5-r1)
(006327) [18:51:07] % /tmp/pmbootstrapn5siok1zapk --version
apk-tools 2.12.5, compiled for x86_64.
(006327) [18:51:07] (installer_pine64-pinebookpro) install alpine-base
(006327) [18:51:07] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/etc/apk/cache
(006327) [18:51:07] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:07] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:07] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:07] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:07] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:07] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:07] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:07] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/
(006327) [18:51:07] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/etc/resolv.conf
(006327) [18:51:07] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/etc/apk
(006327) [18:51:08] (installer_pine64-pinebookpro) update /etc/apk/repositories
(006327) [18:51:08] % sudo sh -c echo /mnt/pmbootstrap-packages >> /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/etc/apk/repositories
(006327) [18:51:08] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/master >> /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/etc/apk/repositories
(006327) [18:51:08] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/main >> /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/etc/apk/repositories
(006327) [18:51:08] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/community >> /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/etc/apk/repositories
(006327) [18:51:08] % sudo sh -c echo http://dl-4.alpinelinux.org/alpine/edge/testing >> /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/etc/apk/repositories
(006327) [18:51:08] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
(006327) [18:51:08] % sudo rm -f /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(006327) [18:51:08] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(006327) [18:51:08] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(006327) [18:51:08] % sudo sh -c exec 3>/home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo; /home/build/.local/var/pmbootstrap/apk.static --no-progress --progress-fd 3 --root /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_aarch64 --initdb --arch aarch64 add alpine-base
(006327) [18:51:08] New background process: pid=6483, output=background
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/20) Installing musl (1.2.2-r3)
(2/20) Installing busybox (1.33.1-r4)
Executing busybox-1.33.1-r4.post-install
(3/20) Installing alpine-baselayout (3.2.0-r17)
Executing alpine-baselayout-3.2.0-r17.pre-install
Executing alpine-baselayout-3.2.0-r17.post-install
(4/20) Installing ifupdown-ng (0.11.3-r0)
(5/20) Installing openrc (0.43.3-r1)
Executing openrc-0.43.3-r1.post-install
(6/20) Installing alpine-conf (3.12.0-r0)
(7/20) Installing libcrypto1.1 (1.1.1k-r1)
(8/20) Installing libssl1.1 (1.1.1k-r1)
(9/20) Installing ca-certificates-bundle (20191127-r5)
(10/20) Installing libretls (3.3.3-r2)
(11/20) Installing ssl_client (1.33.1-r4)
(12/20) Installing zlib (1.2.11-r3)
(13/20) Installing apk-tools (2.12.5-r1)
(14/20) Installing busybox-suid (1.33.1-r4)
(15/20) Installing busybox-initscripts (3.2-r2)
Executing busybox-initscripts-3.2-r2.post-install
(16/20) Installing scanelf (1.3.2-r0)
(17/20) Installing musl-utils (1.2.2-r3)
(18/20) Installing libc-utils (0.7.2-r3)
(19/20) Installing alpine-keys (2.3-r1)
(20/20) Installing alpine-base (3.14.0-r0)
Executing busybox-1.33.1-r4.trigger
OK: 8 MiB in 20 packages
(006327) [18:51:09] (installer_pine64-pinebookpro) % adduser -D pmos -u 12345
(006327) [18:51:09] (installer_pine64-pinebookpro) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-abuild-config /home/pmos/.abuild
(006327) [18:51:09] (installer_pine64-pinebookpro) % chown pmos:pmos /mnt/pmbootstrap-abuild-config
(006327) [18:51:09] (installer_pine64-pinebookpro) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-ccache /home/pmos/.ccache
(006327) [18:51:09] (installer_pine64-pinebookpro) % chown pmos:pmos /mnt/pmbootstrap-ccache
(006327) [18:51:09] (installer_pine64-pinebookpro) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(006327) [18:51:09] (installer_pine64-pinebookpro) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-packages /home/pmos/packages/pmos
(006327) [18:51:09] (installer_pine64-pinebookpro) % chown pmos:pmos /mnt/pmbootstrap-packages
(006327) [18:51:09] (installer_pine64-pinebookpro) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(006327) [18:51:10] (installer_pine64-pinebookpro) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/index /home/pmos/.cargo/registry/index
(006327) [18:51:10] (installer_pine64-pinebookpro) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/index
(006327) [18:51:10] (installer_pine64-pinebookpro) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/registry/cache /home/pmos/.cargo/registry/cache
(006327) [18:51:10] (installer_pine64-pinebookpro) % chown pmos:pmos /mnt/pmbootstrap-rust/registry/cache
(006327) [18:51:10] (installer_pine64-pinebookpro) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(006327) [18:51:10] (installer_pine64-pinebookpro) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap-rust/git/db /home/pmos/.cargo/git/db
(006327) [18:51:10] (installer_pine64-pinebookpro) % chown pmos:pmos /mnt/pmbootstrap-rust/git/db
(006327) [18:51:10] (installer_pine64-pinebookpro) calculate depends of device-pine64-pinebookpro, postmarketos-ondev, device-pine64-pinebookpro-nonfree-firmware, postmarketos-base-nofde (pmbootstrap -v for details)
(006327) [18:51:10] openssh-client: picked provider(s) with higest priority 1: openssh-client-default
(006327) [18:51:11] so:libpolkit-agent-1.so.0: has multiple providers (polkit-elogind, polkit, polkit-libs), picked shortest: polkit
(006327) [18:51:11] (installer_pine64-pinebookpro) install device-pine64-pinebookpro postmarketos-ondev device-pine64-pinebookpro-nonfree-firmware postmarketos-base-nofde
(006327) [18:51:11] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/tmp/apk_progress_fifo
(006327) [18:51:11] (installer_pine64-pinebookpro) % cat /tmp/apk_progress_fifo
(006327) [18:51:11] (installer_pine64-pinebookpro) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add -u --virtual .pmbootstrap device-pine64-pinebookpro postmarketos-ondev device-pine64-pinebookpro-nonfree-firmware postmarketos-base-nofde postmarketos-base linux-postmarketos-rockchip u-boot-pinebookpro mesa-dri-gallium alsa-ucm-conf postmarketos-ondev-openrc calamares calamares-extensions-brand-default-mobile calamares-extensions-mod-mobile calamares-mod-mount calamares-mod-shellprocess calamares-mod-unpackfs e2fsprogs i3wm kirigami2 mesa-egl qt5-qtvirtualkeyboard qtvirtualkeyboard-plasma tinydm tinydm-openrc unclutter-xfixes xorg-server xset firmware-pine64-pinebookpro eudev openssh postmarketos-mkinitfs postmarketos-mvcfg sudo mesa llvm11-libs libdrm libelf expat libgcc mesa-glapi libstdc++ zstd-libs ckbcomp musl-locales os-prober python3 kcoreaddons kcrash qt5-qtbase qt5-qtbase-x11 qt5-qtdeclarative qt5-qtsvg boost1.76-python3 kpmcore yaml-cpp rsync libblkid libcom_err e2fsprogs-libs libuuid cairo libev glib pango pcre startup-notification xcb-util-cursor xcb-util-wm xcb-util-keysyms libxcb xcb-util xcb-util-xrm libxkbcommon-x11 libxkbcommon yajl qt5-qtgraphicaleffects qt5-qtquickcontrols2 kirigami2-libs libx11 mesa-gbm wayland-libs-client wayland-libs-server libxshmfence libhunspell autologin libxfixes libxi font-misc-misc font-cursor-misc xkeyboard-config xkbcomp xinit xorg-server-common mesa-gl libxau libxdmcp libxfont2 libepoxy nettle libpciaccess pixman eudev-libs libxext libxmu udev-init-scripts kmod-libs openssh-client-default openssh-sftp-server openssh-server busybox-extras bzip2 cryptsetup device-mapper e2fsprogs-extra f2fs-tools kmod lddtree lz4 multipath-tools parted xz libffi libxml2 libbz2 fts xz-libs perl gdbm mpdecimal ncurses-libs readline sqlite-libs kwindowsystem qt5-qtx11extras dbus-libs icu-libs libpcre2-16 hicolor-icon-theme mesa-gles libice libsm cups-libs fontconfig freetype harfbuzz libinput-libs libjpeg-turbo mtdev libpng xcb-util-image xcb-util-renderutil device-mapper-udev sfdisk smartmontools ki18n kwidgetsaddons polkit-qt-1 libacl popt libxrender libintl libmount libxft fribidi linux-pam encodings font-alias mkfontscale util-macros pkgconf libxkbfile xauth mcookie xmodmap xrdb libxxf86vm libbsd libfontenc gmp libxt openssh-keygen openssh-client-common openssh-server-common cryptsetup-libs lvm2-libs device-mapper-libs f2fs-tools-libs libaio json-c userspace-rcu ncurses-terminfo-base avahi-libs gnutls brotli-libs graphite2 libevdev libfdisk libsmartcols polkit libmd libedit argon2-libs device-mapper-event-libs p11-kit libtasn1 libunistring mozjs78 nspr
(006327) [18:51:11] New background process: pid=6595, output=background
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/222) Installing udev-init-scripts (34-r0)
Executing udev-init-scripts-34-r0.post-install
(2/222) Installing udev-init-scripts-openrc (34-r0)
(3/222) Installing eudev-libs (3.2.10-r1)
(4/222) Installing libblkid (2.37-r2)
(5/222) Installing xz-libs (5.2.5-r0)
(6/222) Installing zstd-libs (1.5.0-r0)
(7/222) Installing kmod-libs (29-r0)
(8/222) Installing eudev (3.2.10-r1)
(9/222) Installing eudev-openrc (3.2.10-r1)
(10/222) Installing openssh-keygen (8.6_p1-r2)
(11/222) Installing ncurses-terminfo-base (6.2_p20210626-r0)
(12/222) Installing ncurses-libs (6.2_p20210626-r0)
(13/222) Installing libedit (20210216.3.1-r0)
(14/222) Installing openssh-client-common (8.6_p1-r2)
(15/222) Installing openssh-client-default (8.6_p1-r2)
(16/222) Installing openssh-sftp-server (8.6_p1-r2)
(17/222) Installing openssh-server-common (8.6_p1-r2)
(18/222) Installing openssh-server (8.6_p1-r2)
(19/222) Installing openssh (8.6_p1-r2)
(20/222) Installing busybox-extras (1.33.1-r4)
Executing busybox-extras-1.33.1-r4.post-install
(21/222) Installing bzip2 (1.0.8-r1)
(22/222) Installing argon2-libs (20190702-r1)
(23/222) Installing device-mapper-libs (2.02.187-r1)
(24/222) Installing json-c (0.15-r1)
(25/222) Installing libuuid (2.37-r2)
(26/222) Installing cryptsetup-libs (2.3.6-r0)
(27/222) Installing popt (1.18-r0)
(28/222) Installing cryptsetup (2.3.6-r0)
(29/222) Installing cryptsetup-openrc (2.3.6-r0)
(30/222) Installing libaio (0.3.112-r1)
(31/222) Installing device-mapper-event-libs (2.02.187-r1)
(32/222) Installing lvm2-libs (2.02.187-r1)
(33/222) Installing device-mapper (2.02.187-r1)
(34/222) Installing device-mapper-udev (2.02.187-r1)
Executing device-mapper-udev-2.02.187-r1.post-install
(35/222) Installing libcom_err (1.46.2-r0)
(36/222) Installing e2fsprogs-libs (1.46.2-r0)
(37/222) Installing e2fsprogs (1.46.2-r0)
(38/222) Installing e2fsprogs-extra (1.46.2-r0)
(39/222) Installing f2fs-tools-libs (1.14.0-r0)
(40/222) Installing f2fs-tools (1.14.0-r0)
(41/222) Installing kmod (29-r0)
(42/222) Installing kmod-openrc (29-r0)
(43/222) Installing lddtree (1.26-r2)
(44/222) Installing lz4 (1.9.3-r0)
(45/222) Installing readline (8.1.0-r0)
(46/222) Installing userspace-rcu (0.12.2-r0)
(47/222) Installing multipath-tools (0.8.6-r0)
(48/222) Installing multipath-tools-openrc (0.8.6-r0)
(49/222) Installing parted (3.4-r0)
(50/222) Installing postmarketos-mvcfg (1-r0)
(51/222) Installing sudo (1.9.7_p1-r1)
(52/222) Installing postmarketos-base-nofde (12-r1)
(53/222) Installing xz (5.2.5-r0)
(54/222) Installing postmarketos-mkinitfs (0.27-r0)
(55/222) Installing postmarketos-base (12-r1)
Executing postmarketos-base-12-r1.post-install
(56/222) Installing linux-postmarketos-rockchip (5.11.2-r1)
(57/222) Installing u-boot-pinebookpro (2020.07-r1)
(58/222) Installing mesa (21.1.3-r0)
(59/222) Installing libffi (3.3-r2)
(60/222) Installing libgcc (10.3.1_git20210625-r0)
(61/222) Installing libstdc++ (10.3.1_git20210625-r0)
(62/222) Installing libxml2 (2.9.12-r1)
(63/222) Installing llvm11-libs (11.1.0-r2)
(64/222) Installing libdrm (2.4.106-r0)
(65/222) Installing libbz2 (1.0.8-r1)
(66/222) Installing fts (1.2.7-r1)
(67/222) Installing libelf (0.182-r1)
(68/222) Installing expat (2.4.1-r0)
(69/222) Installing mesa-glapi (21.1.3-r0)
(70/222) Installing mesa-dri-gallium (21.1.3-r0)
(71/222) Installing alsa-ucm-conf (1.2.5.1-r0)
(72/222) Installing device-pine64-pinebookpro (1-r1)
Executing device-pine64-pinebookpro-1-r1.post-install
UPDATING HWDB...
 * service sysfsconf added to runlevel default
(73/222) Installing postmarketos-ondev-openrc (0.7.0-r0)
(74/222) Installing perl (5.32.1-r0)
(75/222) Installing ckbcomp (1.202-r0)
(76/222) Installing musl-locales (0_git20201005-r0)
(77/222) Installing os-prober (1.78-r0)
(78/222) Installing gdbm (1.20-r0)
(79/222) Installing mpdecimal (2.5.1-r1)
(80/222) Installing sqlite-libs (9999-r0)
(81/222) Installing python3 (3.9.6-r0)
(82/222) Installing dbus-libs (1.12.20-r2)
(83/222) Installing libintl (0.21-r0)
(84/222) Installing libmount (2.37-r2)
(85/222) Installing pcre (8.44-r0)
(86/222) Installing glib (2.68.2-r0)
(87/222) Installing icu-libs (67.1-r2)
(88/222) Installing libpcre2-16 (10.36-r0)
(89/222) Installing qt5-qtbase (5.15.3_git20210406-r0)
(90/222) Installing kcoreaddons (5.83.0-r0)
(91/222) Installing hicolor-icon-theme (0.17-r1)
(92/222) Installing libxau (1.0.9-r0)
(93/222) Installing libmd (1.0.3-r0)
(94/222) Installing libbsd (0.11.3-r0)
(95/222) Installing libxdmcp (1.1.3-r0)
(96/222) Installing libxcb (1.14-r2)
(97/222) Installing libx11 (1.7.2-r0)
(98/222) Installing wayland-libs-server (1.19.0-r0)
(99/222) Installing mesa-gbm (21.1.3-r0)
(100/222) Installing wayland-libs-client (1.19.0-r0)
(101/222) Installing mesa-gles (21.1.3-r0)
(102/222) Installing qt5-qtdeclarative (5.15.3_git20210531-r0)
(103/222) Installing libxcomposite (0.4.5-r0)
(104/222) Installing brotli-libs (1.0.9-r5)
(105/222) Installing libpng (1.6.37-r1)
(106/222) Installing freetype (2.10.4-r1)
(107/222) Installing fontconfig (2.13.1-r4)
(108/222) Installing wayland-libs-cursor (1.19.0-r0)
(109/222) Installing wayland-libs-egl (1.19.0-r0)
(110/222) Installing pkgconf (1.7.4-r0)
(111/222) Installing xkeyboard-config (9999-r2)
(112/222) Installing libxkbcommon (1.2.1-r0)
(113/222) Installing qt5-qtwayland (5.15.3_git20210510-r0)
(114/222) Installing libxshmfence (1.3-r1)
(115/222) Installing mesa-egl (21.1.3-r0)
(116/222) Installing libice (1.0.10-r0)
(117/222) Installing libsm (1.2.3-r0)
(118/222) Installing avahi-libs (0.8-r4)
(119/222) Installing gmp (6.2.1-r0)
(120/222) Installing nettle (3.7.3-r0)
(121/222) Installing p11-kit (0.23.22-r0)
(122/222) Installing libtasn1 (4.17.0-r0)
(123/222) Installing libunistring (0.9.10-r1)
(124/222) Installing gnutls (3.7.1-r0)
(125/222) Installing cups-libs (2.3.3-r2)
(126/222) Installing graphite2 (1.3.14-r0)
(127/222) Installing harfbuzz (2.8.1-r0)
(128/222) Installing libevdev (1.11.0-r1)
(129/222) Installing mtdev (1.1.6-r0)
(130/222) Installing libinput-libs (1.18.0-r0)
(131/222) Installing libjpeg-turbo (2.1.0-r0)
(132/222) Installing xcb-util-wm (0.4.1-r1)
(133/222) Installing xcb-util (0.4.0-r3)
(134/222) Installing xcb-util-image (0.4.0-r1)
(135/222) Installing xcb-util-keysyms (0.4.0-r1)
(136/222) Installing xcb-util-renderutil (0.3.9-r1)
(137/222) Installing libxkbcommon-x11 (1.2.1-r0)
(138/222) Installing qt5-qtbase-x11 (5.15.3_git20210406-r0)
(139/222) Installing qt5-qtx11extras (5.15.3_git20201027-r0)
(140/222) Installing libxfixes (6.0.0-r0)
(141/222) Installing kwindowsystem (5.83.0-r0)
(142/222) Installing kcrash (5.83.0-r0)
(143/222) Installing qt5-qtsvg (5.15.3_git20200406-r0)
(144/222) Installing boost1.76-python3 (1.76.0-r0)
(145/222) Installing libfdisk (2.37-r2)
(146/222) Installing libsmartcols (2.37-r2)
(147/222) Installing sfdisk (2.37-r2)
(148/222) Installing smartmontools (7.2-r1)
(149/222) Installing smartmontools-openrc (7.2-r1)
(150/222) Installing ki18n (5.83.0-r0)
(151/222) Installing kwidgetsaddons (5.83.0-r0)
(152/222) Installing polkit-libs (0.119-r1)
(153/222) Installing polkit-qt-1 (0.114.0-r0)
(154/222) Installing kpmcore (21.04.2-r0)
(155/222) Installing yaml-cpp (0.6.3-r1)
(156/222) Installing calamares (3.2.39.3-r0)
(157/222) Installing calamares-extensions-brand-default-mobile (1.1.2-r0)
(158/222) Installing calamares-extensions-mod-mobile (1.1.2-r0)
(159/222) Installing calamares-mod-mount (3.2.39.3-r0)
(160/222) Installing calamares-mod-shellprocess (3.2.39.3-r0)
(161/222) Installing libacl (2.2.53-r0)
(162/222) Installing rsync (3.2.3-r3)
(163/222) Installing rsync-openrc (3.2.3-r3)
(164/222) Installing calamares-mod-unpackfs (3.2.39.3-r0)
Executing calamares-mod-unpackfs-3.2.39.3-r0.post-install
modprobe: FATAL: Module squashfs not found in directory /lib/modules/5.10.43-0-lts
(165/222) Installing libxext (1.3.4-r0)
(166/222) Installing libxrender (0.9.10-r3)
(167/222) Installing pixman (0.40.0-r2)
(168/222) Installing cairo (1.16.0-r3)
(169/222) Installing libev (4.33-r0)
(170/222) Installing libxft (2.3.3-r1)
(171/222) Installing fribidi (1.0.10-r0)
(172/222) Installing pango (1.48.5-r0)
(173/222) Installing startup-notification (0.12-r4)
(174/222) Installing xcb-util-cursor (0.1.3-r2)
(175/222) Installing xcb-util-xrm (1.3-r0)
(176/222) Installing yajl (2.1.0-r1)
(177/222) Installing i3wm (4.19.2-r0)
(178/222) Installing qt5-qtgraphicaleffects (5.15.3_git20201105-r0)
(179/222) Installing qt5-qtquickcontrols2 (5.15.3_git20201110-r0)
(180/222) Installing kirigami2-libs (5.83.0-r0)
(181/222) Installing kirigami2 (5.83.0-r0)
(182/222) Installing libhunspell (1.7.0-r1)
(183/222) Installing qt5-qtvirtualkeyboard (5.15.3_git20201214-r0)
(184/222) Installing qtvirtualkeyboard-plasma (0_git20200921-r0)
(185/222) Installing linux-pam (1.5.1-r1)
(186/222) Installing autologin (1.0.0-r1)
(187/222) Installing tinydm (1.1.1-r0)
(188/222) Installing tinydm-openrc (1.1.1-r0)
(189/222) Installing libxi (1.7.10-r0)
(190/222) Installing unclutter-xfixes (1.5-r0)
(191/222) Installing encodings (1.0.5-r0)
(192/222) Installing font-alias (1.0.4-r0)
(193/222) Installing libfontenc (1.1.4-r0)
(194/222) Installing mkfontscale (1.2.1-r1)
(195/222) Installing util-macros (1.19.3-r0)
(196/222) Installing font-misc-misc (1.1.2-r1)
(197/222) Installing font-cursor-misc (1.0.3-r1)
(198/222) Installing libxkbfile (1.1.0-r0)
(199/222) Installing xkbcomp (1.4.5-r0)
(200/222) Installing libxt (1.2.1-r0)
(201/222) Installing libxmu (1.1.3-r0)
(202/222) Installing xauth (1.1-r0)
(203/222) Installing mcookie (2.37-r2)
(204/222) Installing xmodmap (1.0.10-r0)
(205/222) Installing xrdb (1.2.0-r1)
(206/222) Installing xinit (1.4.1-r0)
(207/222) Installing xorg-server-common (1.20.11-r0)
(208/222) Installing libxxf86vm (1.1.4-r2)
(209/222) Installing mesa-gl (21.1.3-r0)
(210/222) Installing libxfont2 (2.0.4-r0)
(211/222) Installing libepoxy (1.5.8-r0)
(212/222) Installing libpciaccess (0.16-r0)
(213/222) Installing xorg-server (1.20.11-r0)
(214/222) Installing xset (1.2.4-r0)
(215/222) Installing postmarketos-ondev (0.7.0-r0)
Executing postmarketos-ondev-0.7.0-r0.post-install
 * service postmarketos-ondev added to runlevel default
(216/222) Installing firmware-pine64-pinebookpro (1-r0)
(217/222) Installing device-pine64-pinebookpro-nonfree-firmware (1-r1)
(218/222) Installing nspr (4.32-r0)
(219/222) Installing mozjs78 (78.10.0-r0)
(220/222) Installing polkit (0.119-r1)
Executing polkit-0.119-r1.pre-install
(221/222) Installing polkit-openrc (0.119-r1)
(222/222) Installing .pmbootstrap (20210702.185112)
Executing busybox-1.33.1-r4.trigger
Executing eudev-3.2.10-r1.trigger
Executing kmod-29-r0.trigger
Executing postmarketos-mkinitfs-0.27-r0.trigger
==> initramfs: creating /boot/initramfs-postmarketos-rockchip
Scanning kernel module dependencies...
NOTE: ** modprobe warnings below can be ignored ** if your device does not run the
mainline kernel yet (most devices!) or if the related kernel options are enabled
with 'y' instead of 'm' (module).
 - deviceinfo: panel_simple pwm_bl rockchipdrm dw_mipi_dsi drm_kms_helper gpu_sched rockchip_rga dw_wdt videobuf2_dma_sg analogix_dp drm_panel_orientation_quirks
 - 00-default.modules: dm_crypt ext4 usb_f_rndis f2fs
==> initramfs: creating /boot/initramfs-postmarketos-rockchip-extra
Executing postmarketos-base-12-r1.trigger
Executing fontconfig-2.13.1-r4.trigger
Executing mkfontscale-1.2.1-r1.trigger
OK: 561 MiB in 242 packages
(006327) [18:53:20] (installer_pine64-pinebookpro) % apk --no-progress add device-pine64-pinebookpro postmarketos-ondev device-pine64-pinebookpro-nonfree-firmware postmarketos-base-nofde
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
OK: 561 MiB in 242 packages
(006327) [18:53:21] (installer_pine64-pinebookpro) % apk --no-progress del .pmbootstrap
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/5) Purging polkit-openrc (0.119-r1)
(2/5) Purging .pmbootstrap (20210702.185112)
(3/5) Purging polkit (0.119-r1)
(4/5) Purging mozjs78 (78.10.0-r0)
(5/5) Purging nspr (4.32-r0)
Executing busybox-1.33.1-r4.trigger
Executing postmarketos-base-12-r1.trigger
OK: 537 MiB in 237 packages
(006327) [18:53:23] (installer_pine64-pinebookpro) ondev-prepare
(006327) [18:53:23] (installer_pine64-pinebookpro) % ONDEV_CHANNEL=edge ONDEV_CHANNEL_BRANCH_APORTS=master ONDEV_CHANNEL_BRANCH_PMAPORTS=master ONDEV_CHANNEL_DESCRIPTION=Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge ONDEV_CHANNEL_MIRRORDIR_ALPINE=edge ONDEV_CIPHER=aes-xts-plain64 ONDEV_PMBOOTSTRAP_VERSION=1.34.0 ONDEV_UI=none ondev-prepare
+ . /etc/deviceinfo
+ deviceinfo_format_version=0
+ deviceinfo_name='PINE64 Pinebook Pro'
+ deviceinfo_manufacturer=PINE64
+ deviceinfo_codename=pine64-pinebookpro
+ deviceinfo_year=2019
+ deviceinfo_dtb=
+ deviceinfo_modules_initfs='panel_simple pwm_bl rockchipdrm dw_mipi_dsi drm_kms_helper gpu_sched rockchip_rga dw_wdt videobuf2_dma_sg analogix_dp drm_panel_orientation_quirks'
+ deviceinfo_arch=aarch64
+ deviceinfo_chassis=laptop
+ deviceinfo_keyboard=true
+ deviceinfo_external_storage=true
+ deviceinfo_screen_width=1920
+ deviceinfo_screen_height=1080
+ deviceinfo_dev_internal_storage=/dev/mmcblk2
+ deviceinfo_dev_internal_storage_repartition=true
+ deviceinfo_flash_method=none
+ deviceinfo_sd_embed_firmware=u-boot/pine64-rockpro64/u-boot-rockchip.bin:32
+ deviceinfo_boot_part_start=32768
+ : edge
+ : master
+ : master
+ : Rolling release / Most devices / Occasional breakage: https://postmarketos.org/edge
+ : edge
+ : aes-xts-plain64
+ : 1.34.0
+ : none
+ : postmarketOS
+ set -x
+ check_pmbootstrap_version
+ min=1.20.0
+ '[' 1.34.0 '=' 0.0.0 ]
+ apk version -t 1.34.0 1.20.0
+ version_result='>'
+ '[' '>' '=' '=' ]
+ '[' '>' '=' '>' ]
+ return
+ write_calamares_mobile_config
+ version=edge
+ '[' edge '!=' edge ]
+ cipher_arg=
+ '[' -n aes-xts-plain64 ]
+ cipher_arg='--cipher '"'"'aes-xts-plain64'"'"
+ pretty_ui none
+ echo none
+ user_password_numeric none
+ echo false
+ cat
+ write_calamares_shellprocess_config
+ cat
+ cat
+ disable_services
+ services='
		eg25
	'
+ '[' -e /etc/init.d/eg25 ]
(006327) [18:53:24] (installer_pine64-pinebookpro) % passwd -l root
passwd: password for root changed by root
(006327) [18:53:24] *** (3/4) PREPARE INSTALL BLOCKDEVICE ***
(006327) [18:53:24] % sudo umount /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/var/cache/distfiles
(006327) [18:53:24] % sudo umount /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/var/cache/apk
(006327) [18:53:24] % sudo umount /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/usr/bin/qemu-aarch64-static
(006327) [18:53:24] % sudo umount /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/proc
(006327) [18:53:24] % sudo umount /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-rust
(006327) [18:53:24] % sudo umount /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-packages
(006327) [18:53:24] % sudo umount /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-git
(006327) [18:53:24] % sudo umount /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-ccache
(006327) [18:53:24] % sudo umount /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/mnt/pmbootstrap-abuild-config
(006327) [18:53:24] % sudo umount /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/etc/apk/keys
(006327) [18:53:24] % sudo umount /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/dev/shm
(006327) [18:53:24] % sudo umount /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/dev
(006327) [18:53:24] % sudo du -ks /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro
900740	/home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro
(006327) [18:53:24] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/rootfs
(006327) [18:53:24] (native) create pine64-pinebookpro.img (2276M)
(006327) [18:53:24] (native) % truncate -s 2276M /home/pmos/rootfs/pine64-pinebookpro.img
(006327) [18:53:24] (native) mount /dev/install (pine64-pinebookpro.img)
(006327) [18:53:24] (native) mount /home/pmos/rootfs/pine64-pinebookpro.img (loop)
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop0p2
(006327) [18:53:24] % sudo mount --bind /dev/loop0p2 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop0p2
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop0p1
(006327) [18:53:24] % sudo mount --bind /dev/loop0p1 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop0p1
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop7
(006327) [18:53:24] % sudo mount --bind /dev/loop7 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop7
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop6
(006327) [18:53:24] % sudo mount --bind /dev/loop6 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop6
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop5
(006327) [18:53:24] % sudo mount --bind /dev/loop5 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop5
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop4
(006327) [18:53:24] % sudo mount --bind /dev/loop4 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop4
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop3
(006327) [18:53:24] % sudo mount --bind /dev/loop3 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop3
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop2
(006327) [18:53:24] % sudo mount --bind /dev/loop2 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop2
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop1
(006327) [18:53:24] % sudo mount --bind /dev/loop1 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop1
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop0
(006327) [18:53:24] % sudo mount --bind /dev/loop0 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop0
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop-control
(006327) [18:53:24] % sudo mount --bind /dev/loop-control /home/build/.local/var/pmbootstrap/chroot_native//dev/loop-control
(006327) [18:53:24] (native) % losetup -f /home/pmos/rootfs/pine64-pinebookpro.img
(006327) [18:53:24] (native) % losetup --json --list
{
   "loopdevices": [
      {
         "name": "/dev/loop0",
         "sizelimit": 0,
         "offset": 0,
         "autoclear": false,
         "ro": false,
         "back-file": "/home/pmos/rootfs/pine64-pinebookpro.img",
         "dio": false,
         "log-sec": 512
      }
   ]
}
(006327) [18:53:24] (native) % losetup --json --list
{
   "loopdevices": [
      {
         "name": "/dev/loop0",
         "sizelimit": 0,
         "offset": 0,
         "autoclear": false,
         "ro": false,
         "back-file": "/home/pmos/rootfs/pine64-pinebookpro.img",
         "dio": false,
         "log-sec": 512
      }
   ]
}
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/dev/install
(006327) [18:53:24] % sudo mount --bind /dev/loop0 /home/build/.local/var/pmbootstrap/chroot_native/dev/install
(006327) [18:53:24] (native) partition /dev/install (boot: 256M, reserved: 854M, root: the rest)
(006327) [18:53:24] (native) % parted -s /dev/install mktable msdos
(006327) [18:53:24] (native) % parted -s /dev/install mkpart primary ext2 32768s 256M
(006327) [18:53:24] (native) % parted -s /dev/install mkpart primary 256M 854M
(006327) [18:53:24] (native) % parted -s /dev/install mkpart primary 1110M 100%
(006327) [18:53:24] (native) % parted -s /dev/install set 1 boot on
(006327) [18:53:24] (native) % losetup --json --list
{
   "loopdevices": [
      {
         "name": "/dev/loop0",
         "sizelimit": 0,
         "offset": 0,
         "autoclear": false,
         "ro": false,
         "back-file": "/home/pmos/rootfs/pine64-pinebookpro.img",
         "dio": false,
         "log-sec": 512
      }
   ]
}
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/dev/installp1
(006327) [18:53:24] % sudo mount --bind /dev/loop0p1 /home/build/.local/var/pmbootstrap/chroot_native/dev/installp1
(006327) [18:53:24] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/dev/installp3
(006327) [18:53:24] % sudo mount --bind /dev/loop0p3 /home/build/.local/var/pmbootstrap/chroot_native/dev/installp3
(006327) [18:53:24] (native) calculate depends of e2fsprogs (pmbootstrap -v for details)
(006327) [18:53:25] (native) install e2fsprogs
(006327) [18:53:25] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(006327) [18:53:25] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(006327) [18:53:25] (native) % cat /tmp/apk_progress_fifo
(006327) [18:53:25] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add -u --virtual .pmbootstrap e2fsprogs libcom_err e2fsprogs-libs
(006327) [18:53:25] New background process: pid=8603, output=background
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/4) Installing libcom_err (1.46.2-r0)
(2/4) Installing e2fsprogs-libs (1.46.2-r0)
(3/4) Installing e2fsprogs (1.46.2-r0)
(4/4) Installing .pmbootstrap (20210702.185325)
Executing busybox-1.33.1-r4.trigger
OK: 24 MiB in 61 packages
(006327) [18:53:25] (native) % apk --no-progress add e2fsprogs
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
OK: 24 MiB in 61 packages
(006327) [18:53:25] (native) % apk --no-progress del .pmbootstrap
WARNING: Ignoring /mnt/pmbootstrap-packages: No such file or directory
(1/1) Purging .pmbootstrap (20210702.185325)
OK: 24 MiB in 60 packages
(006327) [18:53:26] (native) format /dev/installp3 (root, ext4)
(006327) [18:53:26] (native) % mkfs.ext4 -O ^metadata_csum -F -q -L pmOS_install -N 100000 /dev/installp3
(006327) [18:53:26] (native) mount /dev/installp3 to /mnt/install
(006327) [18:53:26] (native) % mkdir -p /mnt/install
(006327) [18:53:26] (native) % mount /dev/installp3 /mnt/install
(006327) [18:53:26] (native) calculate depends of e2fsprogs (pmbootstrap -v for details)
(006327) [18:53:26] (native) format /dev/installp1 (boot, ext2), mount to mountpoint
(006327) [18:53:26] (native) % mkfs.ext2 -F -q -L pmOS_inst_boot /dev/installp1
(006327) [18:53:26] (native) % mkdir -p /mnt/install/boot
(006327) [18:53:26] (native) % mount /dev/installp1 /mnt/install/boot
(006327) [18:53:26] *** (4/4) FILL INSTALL BLOCKDEVICE ***
(006327) [18:53:26] (native) copy installer_pine64-pinebookpro to /mnt/install/
(006327) [18:53:26] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/installer_pine64-pinebookpro
(006327) [18:53:26] % sudo mount --bind /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro /home/build/.local/var/pmbootstrap/chroot_native/mnt/installer_pine64-pinebookpro
(006327) [18:53:26] % sudo rm /home/build/.local/var/pmbootstrap/chroot_native/mnt/installer_pine64-pinebookpro/usr/bin/qemu-aarch64-static
(006327) [18:53:26] % sudo rm /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/tmp/apk_progress_fifo
(006327) [18:53:26] (native) % cd /mnt/installer_pine64-pinebookpro; cp -a in-pmbootstrap var lib usr srv boot sys tmp mnt opt root bin etc media sbin dev run proc /mnt/install/
(006327) [18:53:30] % sudo mkdir /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/home
(006327) [18:53:30] % sudo cp -a /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/skel /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/home/user
(006327) [18:53:30] % sudo chown -R 10000 /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/home/user
(006327) [18:53:30] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(006327) [18:53:30] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(006327) [18:53:30] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(006327) [18:53:30] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(006327) [18:53:30] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(006327) [18:53:30] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(006327) [18:53:30] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(006327) [18:53:30] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(006327) [18:53:30] % sudo sed -i /\/mnt\/pmbootstrap-packages/d /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/repositories
(006327) [18:53:30] % cat /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/repositories
http://mirror.postmarketos.org/postmarketos/master
http://dl-4.alpinelinux.org/alpine/edge/main
http://dl-4.alpinelinux.org/alpine/edge/community
http://dl-4.alpinelinux.org/alpine/edge/testing
(006327) [18:53:30] Embed firmware u-boot/pine64-rockpro64/u-boot-rockchip.bin in the SD card image at offset 32 with step size 1024
(006327) [18:53:30] (native) % dd if=/mnt/installer_pine64-pinebookpro/usr/share/u-boot/pine64-rockpro64/u-boot-rockchip.bin of=/dev/install bs=1024 seek=32
9234+1 records in
9234+1 records out
(006327) [18:53:30] % sudo umount /home/build/.local/var/pmbootstrap/chroot_native/mnt/installer_pine64-pinebookpro
(006327) [18:53:30] % sudo umount /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/boot
(006327) [18:53:30] % sudo umount /home/build/.local/var/pmbootstrap/chroot_native/mnt/install
(006327) [18:53:30] (native) % losetup --json --list
{
   "loopdevices": [
      {
         "name": "/dev/loop0",
         "sizelimit": 0,
         "offset": 0,
         "autoclear": false,
         "ro": false,
         "back-file": "/home/pmos/rootfs/pine64-pinebookpro.img",
         "dio": false,
         "log-sec": 512
      }
   ]
}
(006327) [18:53:30] (native) umount /dev/loop0
(006327) [18:53:30] (native) % losetup -d /dev/loop0
(006327) [18:53:30] 
(006327) [18:53:30] *** FLASHING INFORMATION ***
(006327) [18:53:30] Refer to the installation instructions of your device, or the generic install instructions in the wiki.
(006327) [18:53:30] https://wiki.postmarketos.org/wiki/Installation_guide#pmbootstrap_flash
(006327) [18:53:30] 
(006327) [18:53:30] *** SSH DAEMON INFORMATION ***
(006327) [18:53:30] SSH daemon is enabled in the installer OS, to allow debugging the installer image.
(006327) [18:53:30] More info: https://postmarketos.org/ondev-debug
(006327) [18:53:30] 
(006327) [18:53:30] *** FIREWALL INFORMATION ***
(006327) [18:53:30] Firewall is enabled, but may not work (couldn't determine if kernel supports nftables).
(006327) [18:53:30] For more information: https://postmarketos.org/firewall
(006327) [18:53:30] 
(006327) [18:53:30] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(006327) [18:53:30] Done
++ pmbootstrap config work
+ sudo rm /home/build/.local/var/pmbootstrap/chroot_installer_pine64-pinebookpro/var/lib/rootfs.img
++ pmbootstrap config work
+ '[' -e /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/rootfs/pine64-pinebookpro.img ']'
++ pmbootstrap config work
+ sudo mv /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/rootfs/pine64-pinebookpro.img out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img
+ ls -lh out
total 1.6G
-rw-r--r-- 1 root 12345 2.3G Jul  2 18:53 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img
-rw-r--r-- 1 root 12345 654M Jul  2 18:50 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img
compress
1
2
3
4
5
6
7
8
9
10
11
12
13
+ export BPO_JOB_ID=537107
+ BPO_JOB_ID=537107
++ id -u
++ id -g
+ sudo chown 1000:1000 out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img
+ for i in out/*.img
+ xz -0 -T0 out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img
+ for i in out/*.img
+ xz -0 -T0 out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img
+ ls -lh out
total 286M
-rw-r--r-- 1 build build 215M Jul  2 18:53 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz
-rw-r--r-- 1 build build  71M Jul  2 18:50 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz
checksums
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
+ export BPO_JOB_ID=537107
+ BPO_JOB_ID=537107
+ cd out
+ for i in *
+ sha256sum 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz
+ tee 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz.sha256
a9185dada39cd4a3e8ee952f4e6bfc2bbc882cf1bfecbd6777dbc11a108c753c  20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz
+ sha512sum 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz
+ tee 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz.sha512
c46c7957c51338dbd96b68c15f95438da5b49683b66aeba05453d9dced98004c324f69790db2a6f63557fc66adc27f87ddcde477775ca3823e37fdfcc2fd1e78  20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz
+ for i in *
+ sha256sum 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz
+ tee 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz.sha256
f7c46b935362a59e35461a1966e4ba9dca19eded9858e373491935887d3ca9c4  20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz
+ sha512sum 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz
+ tee 20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz.sha512
7a5128ff3914be9b3294fbed07cbcbb27fa2024000f09f960ff469403ee7e9d5f6a72ecb63b81909fc5708ff5de9af9abd1fedf85e767b24cd3e66d608a0c1de  20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz
submit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
+ export BPO_JOB_ID=537107
+ BPO_JOB_ID=537107
+ export BPO_API_ENDPOINT=build-image
+ BPO_API_ENDPOINT=build-image
+ export BPO_ARCH=
+ BPO_ARCH=
+ export BPO_BRANCH=master
+ BPO_BRANCH=master
+ export BPO_DEVICE=pine64-pinebookpro
+ BPO_DEVICE=pine64-pinebookpro
+ export BPO_UI=none
+ BPO_UI=none
++ find out -type f
+ export 'BPO_PAYLOAD_FILES=out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz.sha256
out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz
out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz
out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz.sha512
out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz.sha512
out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz.sha256'
+ BPO_PAYLOAD_FILES='out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz.sha256
out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz
out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz
out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz.sha512
out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz.sha512
out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz.sha256'
+ export BPO_PAYLOAD_IS_JSON=0
+ BPO_PAYLOAD_IS_JSON=0
+ export BPO_PKGNAME=
+ BPO_PKGNAME=
++ cat img-date
+ export BPO_VERSION=20210702-1848
+ BPO_VERSION=20210702-1848
+ exec build.postmarketos.org/helpers/submit.py
Appending: out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz.sha256
Appending: out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz
Appending: out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz
Appending: out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro-installer.img.xz.sha512
Appending: out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz.sha512
Appending: out/20210702-1848-postmarketOS-edge-none-12-pine64-pinebookpro.img.xz.sha256
Uploading to: https://build.postmarketos.org/api/job-callback/build-image
image received, kthxbye
Build complete: success 5 months ago (took 7 minutes)