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
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260 |
+ export BPO_JOB_ID=1185462
+ BPO_JOB_ID=1185462
++ cat img-prefix
+ IMG_PREFIX=20240403-0114-postmarketOS-v23.12-console-0.1-google-gru
+ pmbootstrap config kernel ''
[01:15:00] Config changed: kernel=''
+ pmbootstrap config extra_space 0
[01:15:00] Config changed: extra_space='0'
+ pmbootstrap config extra_packages lang,musl-locales
[01:15:00] Config changed: extra_packages='lang,musl-locales'
+ pmbootstrap -q -y zap -p
+ printf '%s\n%s\n' 147147 147147
+ pmbootstrap -m http://dl-cdn.alpinelinux.org/alpine/ -mp http://mirror.postmarketos.org/postmarketos/ --details-to-stdout install --no-sshd --no-local-pkgs
(002311) [01:15:00] % cd /home/build/pmaports; git remote -v
origin https://gitlab.com/postmarketOS/pmaports.git/ (fetch)
origin https://gitlab.com/postmarketOS/pmaports.git/ (push)
(002311) [01:15:00] % 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
[v23.12]
description=Latest release / Recommended for best stability
branch_pmaports=v23.12
branch_aports=3.19-stable
mirrordir_alpine=v3.19
[v23.06]
description=Old release (unsupported)
branch_pmaports=v23.06
branch_aports=3.18-stable
mirrordir_alpine=v3.18
[v22.12]
description=Old release (unsupported)
branch_pmaports=v22.12
branch_aports=3.17-stable
mirrordir_alpine=v3.17
[v22.06]
description=Old release (unsupported)
branch_pmaports=v22.06
branch_aports=3.16-stable
mirrordir_alpine=v3.16
[v21.12]
description=Old release (unsupported)
branch_pmaports=v21.12
branch_aports=3.15-stable
mirrordir_alpine=v3.15
[v21.06]
description=Old release (unsupported)
branch_pmaports=v21.06
branch_aports=3.14-stable
mirrordir_alpine=v3.14
[v21.03]
description=Old release (unsupported)
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
(002311) [01:15:00] *** (1/4) PREPARE NATIVE CHROOT ***
(002311) [01:15:00] NOTE: Skipped apk version check for chroot 'native', because it is not installed yet!
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev
(002311) [01:15:00] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/dev/pts /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002311) [01:15:00] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_native/dev/shm
(002311) [01:15:00] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/null c 1 3
(002311) [01:15:00] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/zero c 1 5
(002311) [01:15:00] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_native/dev/full c 1 7
(002311) [01:15:00] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/random c 1 8
(002311) [01:15:00] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_native/dev/urandom c 1 9
(002311) [01:15:00] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_native/dev/
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/proc
(002311) [01:15:00] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_native/proc
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002311) [01:15:00] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/var/cache/apk
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/v23.12
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
(002311) [01:15:00] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/x86_64/v23.12 /home/build/.local/var/pmbootstrap/chroot_native/mnt/appstream-data
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_x86_64
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
(002311) [01:15:00] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_x86_64 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/ccache
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_distfiles
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002311) [01:15:00] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_native/var/cache/distfiles
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
(002311) [01:15:00] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/git
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_go
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
(002311) [01:15:00] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/go
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_rust
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
(002311) [01:15:00] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/rust
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_abuild
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
(002311) [01:15:00] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/abuild-config
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/config_apk_keys
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002311) [01:15:00] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/keys
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_sccache
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
(002311) [01:15:00] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/sccache
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/images_netboot
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
(002311) [01:15:00] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/netboot
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/packages/v23.12
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
(002311) [01:15:00] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/v23.12 /home/build/.local/var/pmbootstrap/chroot_native/mnt/pmbootstrap/packages
(002311) [01:15:00] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
(002311) [01:15:00] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/v23.12/x86_64/APKINDEX.tar.gz
(002311) [01:15:00] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
(002311) [01:15:00] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
(002311) [01:15:00] Update package index for x86_64 (3 file(s))
(002311) [01:15:00] % mkdir -p /home/build/.local/var/pmbootstrap/cache_http
(002311) [01:15:00] Download http://mirror.postmarketos.org/postmarketos/v23.12/x86_64/APKINDEX.tar.gz
(002311) [01:15:00] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_303bcc7483cdf2b6d6668208bc391730a6e3c6f626527b960cc13b59d48b3072 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.618c1216.tar.gz
(002311) [01:15:00] Download http://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
(002311) [01:15:00] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_adacfaaf81b5496d877f7e38958d00c430d6a9ba8ac472cddf5a71e6ed9812a4 /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.b2c94760.tar.gz
(002311) [01:15:00] Download http://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
(002311) [01:15:00] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_fc1fdec2c7f8f214d0910b485bc488271731309130adadef97e9905efbe901db /home/build/.local/var/pmbootstrap/cache_apk_x86_64/APKINDEX.be78cdff.tar.gz
(002311) [01:15:00] Download http://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/apk-tools-static-2.14.3-r1.apk
(002311) [01:15:00] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002311) [01:15:00] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002311) [01:15:00] extracted: /tmp/pmbootstrapb32xvxoyapk
(002311) [01:15:00] extracted: /tmp/pmbootstrapow496ipcsig
(002311) [01:15:00] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002311) [01:15:00] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrapow496ipcsig /tmp/pmbootstrapb32xvxoyapk
Verified OK
(002311) [01:15:00] Verify the version reported by the apk.static binary (must match the package version 2.14.3-r1)
(002311) [01:15:00] % /tmp/pmbootstrapb32xvxoyapk --version
apk-tools 2.14.3, compiled for x86_64.
(002311) [01:15:00] (native) install alpine-base
(002311) [01:15:00] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/cache
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616a9724.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616a9724.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-5261cecb.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616adfeb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616adfeb.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/build.postmarketos.org.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/build.postmarketos.org.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616db30d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616db30d.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-61666e3f.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-61666e3f.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-58cbb476.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-58e4f17d.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616ae350.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616ae350.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616abc23.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616abc23.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-58199dcc.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-5243ef4b.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-60ac2099.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-60ac2099.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616ac3bc.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-616ac3bc.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5e69ca50.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-5e69ca50.rsa.pub
(002311) [01:15:00] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub /home/build/.local/var/pmbootstrap/config_apk_keys/alpine-devel@lists.alpinelinux.org-524d27bb.rsa.pub
(002311) [01:15:00] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_native/etc/resolv.conf
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/etc/apk
(002311) [01:15:00] (native) update /etc/apk/repositories
(002311) [01:15:00] % sudo sh -c echo /mnt/pmbootstrap/packages >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002311) [01:15:00] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/v23.12 >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002311) [01:15:00] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/v3.19/main >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002311) [01:15:00] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/v3.19/community >> /home/build/.local/var/pmbootstrap/chroot_native/etc/apk/repositories
(002311) [01:15:00] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
(002311) [01:15:00] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002311) [01:15:00] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002311) [01:15:00] % 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 --no-interactive
(002311) [01:15:00] New background process: pid=2473, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
fetch http://mirror.postmarketos.org/postmarketos/v23.12/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
(1/25) Installing alpine-baselayout-data (3.4.3-r2)
(2/25) Installing musl (1.2.4_git20230717-r4)
(3/25) Installing busybox (1.36.1-r15)
Executing busybox-1.36.1-r15.post-install
(4/25) Installing busybox-binsh (1.36.1-r15)
(5/25) Installing alpine-baselayout (3.4.3-r2)
Executing alpine-baselayout-3.4.3-r2.pre-install
Executing alpine-baselayout-3.4.3-r2.post-install
(6/25) Installing ifupdown-ng (0.12.1-r4)
(7/25) Installing libcap2 (2.69-r1)
(8/25) Installing openrc (0.52.1-r2)
Executing openrc-0.52.1-r2.post-install
(9/25) Installing mdev-conf (4.6-r0)
(10/25) Installing busybox-mdev-openrc (1.36.1-r15)
(11/25) Installing alpine-conf (3.17.2-r0)
(12/25) Installing alpine-keys (2.4-r1)
(13/25) Installing alpine-release (3.19.1-r0)
(14/25) Installing ca-certificates-bundle (20240226-r0)
(15/25) Installing libcrypto3 (3.1.4-r5)
(16/25) Installing libssl3 (3.1.4-r5)
(17/25) Installing ssl_client (1.36.1-r15)
(18/25) Installing zlib (1.3.1-r0)
(19/25) Installing apk-tools (2.14.3-r1)
(20/25) Installing busybox-openrc (1.36.1-r15)
(21/25) Installing busybox-suid (1.36.1-r15)
(22/25) Installing scanelf (1.3.7-r2)
(23/25) Installing musl-utils (1.2.4_git20230717-r4)
(24/25) Installing libc-utils (0.7.2-r5)
(25/25) Installing alpine-base (3.19.1-r0)
Executing busybox-1.36.1-r15.trigger
OK: 10 MiB in 25 packages
(002311) [01:15:01] (native) % adduser -D pmos -u 12345
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/abuild-config /home/pmos/.abuild
(002311) [01:15:01] (native) % chown pmos:pmos /mnt/pmbootstrap/abuild-config
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/ccache /home/pmos/.ccache
(002311) [01:15:01] (native) % chown pmos:pmos /mnt/pmbootstrap/ccache
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cache
(002311) [01:15:01] (native) % mkdir -p /mnt/pmbootstrap/go/gocache
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gocache /home/pmos/.cache/go-build
(002311) [01:15:01] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gocache
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/go/pkg
(002311) [01:15:01] (native) % mkdir -p /mnt/pmbootstrap/go/gomodcache
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/go/gomodcache /home/pmos/go/pkg/mod
(002311) [01:15:01] (native) % chown pmos:pmos /mnt/pmbootstrap/go/gomodcache
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/packages
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/packages /home/pmos/packages/pmos
(002311) [01:15:01] (native) % chown pmos:pmos /mnt/pmbootstrap/packages
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/git
(002311) [01:15:01] (native) % mkdir -p /mnt/pmbootstrap/rust/git/db
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/git/db /home/pmos/.cargo/git/db
(002311) [01:15:01] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/git/db
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/.cargo/registry
(002311) [01:15:01] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/cache
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/cache /home/pmos/.cargo/registry/cache
(002311) [01:15:01] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/cache
(002311) [01:15:01] (native) % mkdir -p /mnt/pmbootstrap/rust/registry/index
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/rust/registry/index /home/pmos/.cargo/registry/index
(002311) [01:15:01] (native) % chown pmos:pmos /mnt/pmbootstrap/rust/registry/index
(002311) [01:15:01] (native) % busybox su pmos -c HOME=/home/pmos ln -s /mnt/pmbootstrap/sccache /home/pmos/.cache/sccache
(002311) [01:15:01] (native) % chown pmos:pmos /mnt/pmbootstrap/sccache
(002311) [01:15:01] (native) % apk --no-network upgrade -a
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/1) Purging ssl_client (1.36.1-r15)
Executing busybox-1.36.1-r15.trigger
OK: 10 MiB in 24 packages
(002311) [01:15:01] (native) calculate depends of cryptsetup, util-linux, parted (pmbootstrap -v for details)
(002311) [01:15:02] (native) install cryptsetup util-linux parted
(002311) [01:15:02] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002311) [01:15:02] (native) % cat /tmp/apk_progress_fifo
(002311) [01:15:02] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add cryptsetup util-linux parted --no-interactive
(002311) [01:15:02] New background process: pid=2557, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/46) Installing ssl_client (1.36.1-r15)
(2/46) Installing libblkid (2.39.3-r0)
(3/46) Installing argon2-libs (20190702-r5)
(4/46) Installing device-mapper-libs (2.03.23-r0)
(5/46) Installing json-c (0.17-r0)
(6/46) Installing libuuid (2.39.3-r0)
(7/46) Installing cryptsetup-libs (2.6.1-r8)
(8/46) Installing popt (1.19-r3)
(9/46) Installing cryptsetup (2.6.1-r8)
(10/46) Installing cryptsetup-openrc (2.6.1-r8)
(11/46) Installing ncurses-terminfo-base (6.4_p20231125-r0)
(12/46) Installing libncursesw (6.4_p20231125-r0)
(13/46) Installing readline (8.2.1-r2)
(14/46) Installing parted (3.6-r2)
(15/46) Installing util-linux (2.39.3-r0)
(16/46) Installing setarch (2.39.3-r0)
(17/46) Installing libfdisk (2.39.3-r0)
(18/46) Installing libmount (2.39.3-r0)
(19/46) Installing libsmartcols (2.39.3-r0)
(20/46) Installing util-linux-misc (2.39.3-r0)
(21/46) Installing libeconf (0.5.2-r2)
(22/46) Installing skalibs (2.14.0.1-r0)
(23/46) Installing utmps-libs (0.1.2.2-r0)
(24/46) Installing linux-pam (1.5.3-r7)
(25/46) Installing runuser (2.39.3-r0)
(26/46) Installing mount (2.39.3-r0)
(27/46) Installing losetup (2.39.3-r0)
(28/46) Installing hexdump (2.39.3-r0)
(29/46) Installing uuidgen (2.39.3-r0)
(30/46) Installing blkid (2.39.3-r0)
(31/46) Installing sfdisk (2.39.3-r0)
(32/46) Installing mcookie (2.39.3-r0)
(33/46) Installing agetty (2.39.3-r0)
(34/46) Installing agetty-openrc (0.52.1-r2)
(35/46) Installing wipefs (2.39.3-r0)
(36/46) Installing cfdisk (2.39.3-r0)
(37/46) Installing umount (2.39.3-r0)
(38/46) Installing util-linux-openrc (2.39.3-r0)
(39/46) Installing flock (2.39.3-r0)
(40/46) Installing lsblk (2.39.3-r0)
(41/46) Installing libcap-ng (0.8.3-r4)
(42/46) Installing setpriv (2.39.3-r0)
(43/46) Installing logger (2.39.3-r0)
(44/46) Installing partx (2.39.3-r0)
(45/46) Installing fstrim (2.39.3-r0)
(46/46) Installing findmnt (2.39.3-r0)
Executing busybox-1.36.1-r15.trigger
OK: 18 MiB in 70 packages
(002311) [01:15:02] *** (2/4) CREATE DEVICE ROOTFS ("google-gru") ***
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev
(002311) [01:15:02] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/pts /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/shm
(002311) [01:15:02] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/shm
(002311) [01:15:02] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/null c 1 3
(002311) [01:15:02] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/zero c 1 5
(002311) [01:15:02] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/full c 1 7
(002311) [01:15:02] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/random c 1 8
(002311) [01:15:02] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/urandom c 1 9
(002311) [01:15:02] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/proc
(002311) [01:15:02] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/proc
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/var/cache/apk
(002311) [01:15:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_aarch64 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/var/cache/apk
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_appstream/aarch64/v23.12
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/appstream-data
(002311) [01:15:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/aarch64/v23.12 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/appstream-data
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/cache_ccache_aarch64
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/ccache
(002311) [01:15:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_aarch64 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/ccache
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/var/cache/distfiles
(002311) [01:15:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/var/cache/distfiles
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/git
(002311) [01:15:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/git
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/go
(002311) [01:15:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/go
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/rust
(002311) [01:15:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/rust
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/abuild-config
(002311) [01:15:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/abuild-config
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/etc/apk/keys
(002311) [01:15:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/etc/apk/keys
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/sccache
(002311) [01:15:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/sccache
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/netboot
(002311) [01:15:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/netboot
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/packages
(002311) [01:15:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/v23.12 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/packages
(002311) [01:15:02] (native) calculate depends of qemu-aarch64 (pmbootstrap -v for details)
(002311) [01:15:02] (native) install qemu-aarch64
(002311) [01:15:02] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002311) [01:15:02] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002311) [01:15:02] (native) % cat /tmp/apk_progress_fifo
(002311) [01:15:02] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add qemu-aarch64 --no-interactive
(002311) [01:15:02] New background process: pid=2644, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/1) Installing qemu-aarch64 (8.1.5-r0)
Executing busybox-1.36.1-r15.trigger
OK: 23 MiB in 71 packages
(002311) [01:15:02] Register qemu binfmt (aarch64)
(002311) [01:15:02] % 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
(002311) [01:15:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/usr/bin
(002311) [01:15:02] % sudo touch /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/usr/bin/qemu-aarch64-static
(002311) [01:15:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/chroot_native/usr/bin/qemu-aarch64 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/usr/bin/qemu-aarch64-static
(002311) [01:15:02] % sudo touch /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/in-pmbootstrap
(002311) [01:15:03] sigfilename: sbin/apk.static.SIGN.RSA.alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002311) [01:15:03] sigkey: alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002311) [01:15:03] extracted: /tmp/pmbootstrapruwrgs1iapk
(002311) [01:15:03] extracted: /tmp/pmbootstrap_tu9goxtsig
(002311) [01:15:03] Verify apk.static signature with /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub
(002311) [01:15:03] % openssl dgst -sha1 -verify /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub -signature /tmp/pmbootstrap_tu9goxtsig /tmp/pmbootstrapruwrgs1iapk
Verified OK
(002311) [01:15:03] Verify the version reported by the apk.static binary (must match the package version 2.14.3-r1)
(002311) [01:15:03] % /tmp/pmbootstrapruwrgs1iapk --version
apk-tools 2.14.3, compiled for x86_64.
(002311) [01:15:03] (rootfs_google-gru) install alpine-base
(002311) [01:15:03] % sudo ln -s -f /var/cache/apk /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/etc/apk/cache
(002311) [01:15:03] % sudo cp /etc/resolv.conf /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/etc/resolv.conf
(002311) [01:15:03] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/etc/apk
(002311) [01:15:03] (rootfs_google-gru) update /etc/apk/repositories
(002311) [01:15:03] % sudo sh -c echo /mnt/pmbootstrap/packages >> /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/etc/apk/repositories
(002311) [01:15:03] % sudo sh -c echo http://mirror.postmarketos.org/postmarketos/v23.12 >> /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/etc/apk/repositories
(002311) [01:15:03] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/v3.19/main >> /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/etc/apk/repositories
(002311) [01:15:03] % sudo sh -c echo http://dl-cdn.alpinelinux.org/alpine/v3.19/community >> /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/etc/apk/repositories
(002311) [01:15:03] APKINDEX outdated (file does not exist yet): http://mirror.postmarketos.org/postmarketos/v23.12/aarch64/APKINDEX.tar.gz
(002311) [01:15:03] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/v3.19/main/aarch64/APKINDEX.tar.gz
(002311) [01:15:03] APKINDEX outdated (file does not exist yet): http://dl-cdn.alpinelinux.org/alpine/v3.19/community/aarch64/APKINDEX.tar.gz
(002311) [01:15:03] Update package index for aarch64 (3 file(s))
(002311) [01:15:03] Download http://mirror.postmarketos.org/postmarketos/v23.12/aarch64/APKINDEX.tar.gz
(002311) [01:15:03] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_078a21651d8297eadd26527494bc8559560cf841ecb3f6d6a158baed531d3704 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.618c1216.tar.gz
(002311) [01:15:03] Download http://dl-cdn.alpinelinux.org/alpine/v3.19/main/aarch64/APKINDEX.tar.gz
(002311) [01:15:03] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_b056c5033622b916c8d2bffe655bd9791ca03587bd8040d679ff0f07fcc16ce7 /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.b2c94760.tar.gz
(002311) [01:15:03] Download http://dl-cdn.alpinelinux.org/alpine/v3.19/community/aarch64/APKINDEX.tar.gz
(002311) [01:15:03] % sudo cp /home/build/.local/var/pmbootstrap/cache_http/APKINDEX_a7e24dd63ec571a9aaf4485abb1631698f12b06cb1f9ec65469d9093dd779c7c /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.be78cdff.tar.gz
(002311) [01:15:03] % sudo mkdir -p /home/build/.local/var/pmbootstrap/tmp
(002311) [01:15:03] % sudo rm -f /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002311) [01:15:03] % sudo mkfifo /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002311) [01:15:03] % sudo cat /home/build/.local/var/pmbootstrap/tmp/apk_progress_fifo
(002311) [01:15: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_rootfs_google-gru --cache-dir /home/build/.local/var/pmbootstrap/cache_apk_aarch64 --initdb --arch aarch64 add alpine-base --no-interactive
(002311) [01:15:03] New background process: pid=2688, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
fetch http://mirror.postmarketos.org/postmarketos/v23.12/aarch64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.19/main/aarch64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.19/community/aarch64/APKINDEX.tar.gz
(1/25) Installing alpine-baselayout-data (3.4.3-r2)
(2/25) Installing musl (1.2.4_git20230717-r4)
(3/25) Installing busybox (1.36.1-r15)
Executing busybox-1.36.1-r15.post-install
(4/25) Installing busybox-binsh (1.36.1-r15)
(5/25) Installing alpine-baselayout (3.4.3-r2)
Executing alpine-baselayout-3.4.3-r2.pre-install
Executing alpine-baselayout-3.4.3-r2.post-install
(6/25) Installing ifupdown-ng (0.12.1-r4)
(7/25) Installing libcap2 (2.69-r1)
(8/25) Installing openrc (0.52.1-r2)
Executing openrc-0.52.1-r2.post-install
(9/25) Installing mdev-conf (4.6-r0)
(10/25) Installing busybox-mdev-openrc (1.36.1-r15)
(11/25) Installing alpine-conf (3.17.2-r0)
(12/25) Installing alpine-keys (2.4-r1)
(13/25) Installing alpine-release (3.19.1-r0)
(14/25) Installing ca-certificates-bundle (20240226-r0)
(15/25) Installing libcrypto3 (3.1.4-r5)
(16/25) Installing libssl3 (3.1.4-r5)
(17/25) Installing ssl_client (1.36.1-r15)
(18/25) Installing zlib (1.3.1-r0)
(19/25) Installing apk-tools (2.14.3-r1)
(20/25) Installing busybox-openrc (1.36.1-r15)
(21/25) Installing busybox-suid (1.36.1-r15)
(22/25) Installing scanelf (1.3.7-r2)
(23/25) Installing musl-utils (1.2.4_git20230717-r4)
(24/25) Installing libc-utils (0.7.2-r5)
(25/25) Installing alpine-base (3.19.1-r0)
Executing busybox-1.36.1-r15.trigger
OK: 13 MiB in 25 packages
(002311) [01:15:03] (rootfs_google-gru) % apk --no-network upgrade -a
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/1) Purging ssl_client (1.36.1-r15)
Executing busybox-1.36.1-r15.trigger
OK: 13 MiB in 24 packages
(002311) [01:15:04] (rootfs_google-gru) % getent passwd user
(002311) [01:15:04] (rootfs_google-gru) % adduser -D -u 10000 user
(002311) [01:15:05] (rootfs_google-gru) % addgroup -S audio
addgroup: group 'audio' in use
(002311) [01:15:05] (rootfs_google-gru) % addgroup user audio
(002311) [01:15:05] (rootfs_google-gru) % addgroup -S input
addgroup: group 'input' in use
(002311) [01:15:05] (rootfs_google-gru) % addgroup user input
(002311) [01:15:05] (rootfs_google-gru) % addgroup -S netdev
addgroup: group 'netdev' in use
(002311) [01:15:05] (rootfs_google-gru) % addgroup user netdev
(002311) [01:15:05] (rootfs_google-gru) % addgroup -S plugdev
(002311) [01:15:05] (rootfs_google-gru) % addgroup user plugdev
(002311) [01:15:05] (rootfs_google-gru) % addgroup -S video
addgroup: group 'video' in use
(002311) [01:15:05] (rootfs_google-gru) % addgroup user video
(002311) [01:15:05] (rootfs_google-gru) % addgroup -S wheel
addgroup: group 'wheel' in use
(002311) [01:15:05] (rootfs_google-gru) % addgroup user wheel
(002311) [01:15:05] get_selected_providers: postmarketos-mvcfg: already visited
(002311) [01:15:05] get_selected_providers: devicepkg-utils>=0.2.0: already visited
(002311) [01:15:05] get_selected_providers: postmarketos-mvcfg: already visited
(002311) [01:15:05] get_selected_providers: postmarketos-base: already visited
(002311) [01:15:05] get_selected_providers: devicepkg-utils: already visited
(002311) [01:15:05] get_selected_providers: util-linux-misc: already visited
(002311) [01:15:05] get_selected_providers: postmarketos-base: already visited
(002311) [01:15:05] get_recommends: postmarketos-mvcfg: already visited
(002311) [01:15:05] get_recommends: devicepkg-utils>=0.2.0: already visited
(002311) [01:15:05] get_recommends: postmarketos-mvcfg: already visited
(002311) [01:15:05] get_recommends: postmarketos-base: already visited
(002311) [01:15:05] get_recommends: devicepkg-utils: already visited
(002311) [01:15:05] get_recommends: util-linux-misc: already visited
(002311) [01:15:05] get_recommends: postmarketos-base: already visited
(002311) [01:15:05] get_recommends: alpine-base: already visited
(002311) [01:15:05] get_recommends: devicepkg-utils>=0.2.0: already visited
(002311) [01:15:05] get_recommends: eudev: already visited
(002311) [01:15:05] get_recommends: openssh: already visited
(002311) [01:15:05] get_recommends: postmarketos-bootsplash: already visited
(002311) [01:15:05] get_recommends: postmarketos-initramfs: already visited
(002311) [01:15:05] get_recommends: postmarketos-mvcfg: already visited
(002311) [01:15:05] get_recommends: postmarketos-keys: already visited
(002311) [01:15:05] get_recommends: sudo-virt: already visited
(002311) [01:15:05] get_recommends: zram-init: already visited
(002311) [01:15:05] (rootfs_google-gru) calculate depends of postmarketos-base, device-google-gru, postmarketos-ui-console, device-google-gru-nonfree-firmware, lang, musl-locales, postmarketos-base-nofde (pmbootstrap -v for details)
(002311) [01:15:05] sudo-virt: picked provider(s) with highest priority 100: sudo
(002311) [01:15:05] openssh-client: picked provider(s) with highest priority 2: openssh-client-default
(002311) [01:15:05] (rootfs_google-gru) install postmarketos-base device-google-gru postmarketos-ui-console device-google-gru-nonfree-firmware lang musl-locales postmarketos-base-nofde
(002311) [01:15:05] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/tmp/apk_progress_fifo
(002311) [01:15:05] (rootfs_google-gru) % cat /tmp/apk_progress_fifo
(002311) [01:15:05] (rootfs_google-gru) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add postmarketos-base device-google-gru postmarketos-ui-console device-google-gru-nonfree-firmware lang musl-locales postmarketos-base-nofde --no-interactive
(002311) [01:15:06] New background process: pid=2801, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/230) Installing ssl_client (1.36.1-r15)
(2/230) Installing alsa-ucm-conf (1.2.10-r0)
(3/230) Installing alsa-ucm-conf-google-gru (1-r0)
(4/230) Installing libuuid (2.39.3-r0)
(5/230) Installing cgpt (6310032-r8)
(6/230) Installing libfdt (1.7.0-r1)
(7/230) Installing dtc (1.7.0-r1)
(8/230) Installing ncurses-terminfo-base (6.4_p20231125-r0)
(9/230) Installing libncursesw (6.4_p20231125-r0)
(10/230) Installing less (643-r1)
(11/230) Installing gzip (1.13-r0)
(12/230) Installing lz4 (1.9.4-r5)
(13/230) Installing libbz2 (1.0.8-r6)
(14/230) Installing libexpat (2.6.2-r0)
(15/230) Installing libffi (3.4.4-r3)
(16/230) Installing gdbm (1.23-r1)
(17/230) Installing xz-libs (5.4.5-r0)
(18/230) Installing libgcc (13.2.1_git20231014-r0)
(19/230) Installing libstdc++ (13.2.1_git20231014-r0)
(20/230) Installing mpdecimal (2.5.1-r2)
(21/230) Installing libpanelw (6.4_p20231125-r0)
(22/230) Installing readline (8.2.1-r2)
(23/230) Installing sqlite-libs (3.44.2-r0)
(24/230) Installing python3 (3.11.8-r0)
(25/230) Installing python3-pycache-pyc0 (3.11.8-r0)
(26/230) Installing pyc (3.11.8-r0)
(27/230) Installing py3-setuptools-pyc (68.2.2-r0)
(28/230) Installing u-boot-tools (2023.10-r3)
(29/230) Installing pkgconf (2.1.0-r0)
(30/230) Installing yaml (0.2.5-r2)
(31/230) Installing vboot-utils (6310032-r8)
(32/230) Installing xz (5.4.5-r0)
(33/230) Installing depthcharge-tools-pyc (0.6.2-r0)
(34/230) Installing py3-parsing (3.1.1-r0)
(35/230) Installing py3-parsing-pyc (3.1.1-r0)
(36/230) Installing py3-packaging-pyc (23.2-r0)
(37/230) Installing python3-pyc (3.11.8-r0)
(38/230) Installing py3-packaging (23.2-r0)
(39/230) Installing py3-setuptools (68.2.2-r0)
(40/230) Installing depthcharge-tools (0.6.2-r0)
(41/230) Installing udev-init-scripts (35-r1)
(42/230) Installing udev-init-scripts-openrc (35-r1)
(43/230) Installing eudev-hwids (3.2.14-r0)
(44/230) Installing linux-postmarketos-rockchip (6.2-r9)
(45/230) Installing postmarketos-mvcfg (1-r0)
(46/230) Installing devicepkg-utils (0.2.0-r1)
(47/230) Installing eudev-libs (3.2.14-r0)
(48/230) Installing libblkid (2.39.3-r0)
(49/230) Installing zstd-libs (1.5.5-r8)
(50/230) Installing kmod-libs (31-r2)
(51/230) Installing eudev (3.2.14-r0)
(52/230) Installing eudev-openrc (3.2.14-r0)
(53/230) Installing openssh-keygen (9.6_p1-r0)
(54/230) Installing libedit (20230828.3.1-r3)
(55/230) Installing openssh-client-common (9.6_p1-r0)
(56/230) Installing openssh-client-default (9.6_p1-r0)
(57/230) Installing openssh-sftp-server (9.6_p1-r0)
(58/230) Installing openssh-server-common (9.6_p1-r0)
(59/230) Installing openssh-server-common-openrc (9.6_p1-r0)
(60/230) Installing openssh-server (9.6_p1-r0)
(61/230) Installing openssh (9.6_p1-r0)
(62/230) Installing pbsplash (0.3.1-r0)
(63/230) Installing postmarketos-bootsplash (0.2.1-r0)
(64/230) Installing postmarketos-bootsplash-openrc (0.2.1-r0)
Executing postmarketos-bootsplash-openrc-0.2.1-r0.post-install
* service kill-pbsplash added to runlevel default
(65/230) Installing blkid (2.39.3-r0)
(66/230) Installing lzo (2.10-r5)
(67/230) Installing btrfs-progs (6.6.2-r0)
(68/230) Installing btrfs-progs-openrc (6.6.2-r0)
(69/230) Installing busybox-extras (1.36.1-r15)
Executing busybox-extras-1.36.1-r15.post-install
(70/230) Installing bzip2 (1.0.8-r6)
(71/230) Installing argon2-libs (20190702-r5)
(72/230) Installing device-mapper-libs (2.03.23-r0)
(73/230) Installing json-c (0.17-r0)
(74/230) Installing cryptsetup-libs (2.6.1-r8)
(75/230) Installing popt (1.19-r3)
(76/230) Installing cryptsetup (2.6.1-r8)
(77/230) Installing cryptsetup-openrc (2.6.1-r8)
(78/230) Installing libaio (0.3.113-r2)
(79/230) Installing device-mapper-event-libs (2.03.23-r0)
(80/230) Installing lvm2-libs (2.03.23-r0)
(81/230) Installing device-mapper (2.03.23-r0)
(82/230) Installing device-mapper-udev (2.03.23-r0)
Executing device-mapper-udev-2.03.23-r0.post-install
(83/230) Installing libcom_err (1.47.0-r5)
(84/230) Installing e2fsprogs-libs (1.47.0-r5)
(85/230) Installing e2fsprogs (1.47.0-r5)
(86/230) Installing e2fsprogs-extra (1.47.0-r5)
(87/230) Installing f2fs-tools-libs (1.16.0-r3)
(88/230) Installing f2fs-tools (1.16.0-r3)
(89/230) Installing libmount (2.39.3-r0)
(90/230) Installing userspace-rcu (0.14.0-r2)
(91/230) Installing multipath-tools (0.9.7-r1)
(92/230) Installing multipath-tools-openrc (0.9.7-r1)
(93/230) Installing parted (3.6-r2)
(94/230) Installing postmarketos-keys (1-r0)
(95/230) Installing sudo (1.9.15_p2-r0)
(96/230) Installing setarch (2.39.3-r0)
(97/230) Installing libfdisk (2.39.3-r0)
(98/230) Installing libsmartcols (2.39.3-r0)
(99/230) Installing util-linux-misc (2.39.3-r0)
(100/230) Installing zram-init (11.1-r1)
(101/230) Installing zram-init-openrc (11.1-r1)
(102/230) Installing postmarketos-base-nofde (30-r0)
(103/230) Installing boot-deploy (0.12-r0)
(104/230) Installing postmarketos-mkinitfs (2.2.2-r2)
(105/230) Installing unudhcpd (0.2.1-r0)
(106/230) Installing postmarketos-initramfs (2.3.0-r0)
(107/230) Installing postmarketos-base (30-r0)
Executing postmarketos-base-30-r0.post-install
* service udev added to runlevel sysinit
* service udev-trigger added to runlevel sysinit
* service udev-settle added to runlevel sysinit
* service udev-postmount added to runlevel default
(108/230) Installing postmarketos-cros-common (1-r0)
(109/230) Installing postmarketos-update-depthcharge-kernel (2.1-r0)
(110/230) Installing soc-rockchip-rk3399 (1-r0)
(111/230) Installing device-google-gru (5-r5)
(112/230) Installing linux-firmware-qcom (20240312-r0)
(113/230) Installing linux-firmware-ath10k (20240312-r0)
(114/230) Installing linux-firmware-qca (20240312-r0)
(115/230) Installing linux-firmware-libertas (20240312-r0)
(116/230) Installing linux-firmware-mrvl (20240312-r0)
(117/230) Installing linux-firmware-rockchip (20240312-r0)
(118/230) Installing soc-rockchip-rk3399-dptx (1-r0)
(119/230) Installing device-google-gru-nonfree-firmware (5-r5)
(120/230) Installing libintl (0.22.3-r0)
(121/230) Installing musl-locales (0.1.0-r1)
(122/230) Installing musl-locales-lang (0.1.0-r1)
(123/230) Installing lang (0.1-r2)
(124/230) Installing dnsmasq-common (2.90-r2)
(125/230) Installing dnsmasq-openrc (2.90-r2)
(126/230) Installing dbus-libs (1.14.10-r0)
(127/230) Installing gmp (6.3.0-r0)
(128/230) Installing nettle (3.9.1-r0)
(129/230) Installing dnsmasq-dnssec-dbus (2.90-r2)
Executing dnsmasq-dnssec-dbus-2.90-r2.pre-install
(130/230) Installing libunistring (1.1-r2)
(131/230) Installing libidn2 (2.3.4-r4)
(132/230) Installing libtasn1 (4.19.0-r2)
(133/230) Installing p11-kit (0.25.3-r0)
(134/230) Installing gnutls (3.8.4-r0)
(135/230) Installing libseccomp (2.5.5-r0)
(136/230) Installing chrony (4.5-r0)
Executing chrony-4.5-r0.pre-install
(137/230) Installing chrony-openrc (4.5-r0)
(138/230) Installing dbus (1.14.10-r0)
Executing dbus-1.14.10-r0.pre-install
Executing dbus-1.14.10-r0.post-install
(139/230) Installing dbus-openrc (1.14.10-r0)
(140/230) Installing dbus-daemon-launch-helper (1.14.10-r0)
(141/230) Installing brotli-libs (1.1.0-r1)
(142/230) Installing libpng (1.6.40-r0)
(143/230) Installing freetype (2.13.2-r0)
(144/230) Installing fontconfig (2.14.2-r4)
(145/230) Installing encodings (1.0.7-r1)
(146/230) Installing libfontenc (1.1.7-r4)
(147/230) Installing mkfontscale (1.2.2-r4)
(148/230) Installing font-dejavu (2.37-r5)
(149/230) Installing haveged (1.9.18-r2)
(150/230) Installing haveged-openrc (1.9.18-r2)
(151/230) Installing jansson (2.14-r4)
(152/230) Installing libmnl (1.0.5-r2)
(153/230) Installing libnftnl (1.2.6-r0)
(154/230) Installing nftables (1.0.9-r1)
(155/230) Installing nftables-openrc (1.0.9-r1)
(156/230) Installing postmarketos-config-nftables (0.16-r0)
Executing postmarketos-config-nftables-0.16-r0.post-install
* service nftables added to runlevel default
(157/230) Installing postmarketos-base-nftables (30-r0)
Executing postmarketos-base-nftables-30-r0.post-install
(158/230) Installing postmarketos-artwork-icons (4-r0)
(159/230) Installing libmd (1.1.0-r0)
(160/230) Installing libbsd (0.11.7-r3)
(161/230) Installing skalibs (2.14.0.1-r0)
(162/230) Installing utmps-libs (0.1.2.2-r0)
(163/230) Installing linux-pam (1.5.3-r7)
(164/230) Installing shadow (4.14.2-r0)
(165/230) Installing tzdata (2024a-r0)
(166/230) Installing util-linux (2.39.3-r0)
(167/230) Installing libeconf (0.5.2-r2)
(168/230) Installing runuser (2.39.3-r0)
(169/230) Installing mount (2.39.3-r0)
(170/230) Installing losetup (2.39.3-r0)
(171/230) Installing hexdump (2.39.3-r0)
(172/230) Installing uuidgen (2.39.3-r0)
(173/230) Installing sfdisk (2.39.3-r0)
(174/230) Installing mcookie (2.39.3-r0)
(175/230) Installing agetty (2.39.3-r0)
(176/230) Installing agetty-openrc (0.52.1-r2)
(177/230) Installing wipefs (2.39.3-r0)
(178/230) Installing cfdisk (2.39.3-r0)
(179/230) Installing umount (2.39.3-r0)
(180/230) Installing util-linux-openrc (2.39.3-r0)
(181/230) Installing flock (2.39.3-r0)
(182/230) Installing lsblk (2.39.3-r0)
(183/230) Installing libcap-ng (0.8.3-r4)
(184/230) Installing setpriv (2.39.3-r0)
(185/230) Installing logger (2.39.3-r0)
(186/230) Installing partx (2.39.3-r0)
(187/230) Installing fstrim (2.39.3-r0)
(188/230) Installing findmnt (2.39.3-r0)
(189/230) Installing wireless-regdb (2023.09.01-r0)
(190/230) Installing libnl3 (3.9.0-r1)
(191/230) Installing pcsc-lite-libs (2.0.0-r2)
(192/230) Installing wpa_supplicant (2.10-r10)
(193/230) Installing wpa_supplicant-openrc (2.10-r10)
(194/230) Installing ifupdown-ng-wifi (0.12.1-r4)
(195/230) Installing postmarketos-base-ui (16-r0)
Executing postmarketos-base-ui-16-r0.post-install
(196/230) Installing libacl (2.3.1-r4)
(197/230) Installing elogind-common (252.9-r4)
(198/230) Installing busctl (252.9-r4)
(199/230) Installing gojq (0.12.14-r1)
(200/230) Installing ca-certificates (20240226-r0)
(201/230) Installing c-ares (1.27.0-r0)
(202/230) Installing nghttp2-libs (1.58.0-r0)
(203/230) Installing libcurl (8.5.0-r0)
(204/230) Installing pcre2 (10.42-r2)
(205/230) Installing glib (2.78.4-r0)
(206/230) Installing glib-lang (2.78.4-r0)
(207/230) Installing nspr (4.35-r4)
(208/230) Installing nss (3.98-r0)
(209/230) Installing libnm (1.44.4-r0)
(210/230) Installing networkmanager-common (1.44.4-r0)
(211/230) Installing networkmanager-openrc (1.44.4-r0)
(212/230) Installing libndp (1.8-r2)
(213/230) Installing libpsl (0.21.2-r1)
(214/230) Installing networkmanager (1.44.4-r0)
Executing networkmanager-1.44.4-r0.pre-install
Executing networkmanager-1.44.4-r0.post-install
*
* To modify system network connections without the root password, add your user
* account to the 'plugdev' group.
*
* If you use wifi, bluetooth, ppp, wwan (mobile broadband), adsl or ovs (Open
* vSwitch), install the corresponding plugin: apk add networkmanager-<name>.
*
* If you use NetworkManager features which require dnsmasq, you need to install
* dnsmasq support: apk add networkmanager-dnsmasq
*
(215/230) Installing postmarketos-config-nftables-networkmanager (0.16-r0)
(216/230) Installing networkmanager-lang (1.44.4-r0)
(217/230) Installing networkmanager-cli (1.44.4-r0)
(218/230) Installing slang (2.3.3-r3)
(219/230) Installing newt (0.52.24-r0)
(220/230) Installing newt-lang (0.52.24-r0)
(221/230) Installing networkmanager-tui (1.44.4-r0)
(222/230) Installing networkmanager-wifi (1.44.4-r0)
Executing networkmanager-wifi-1.44.4-r0.post-install
*
* To control WiFi devices, install either 'wpa_supplicant' or 'iwd' package,
* enable and start the corresponding service (rc-update add <name>;
* rc-service <name> start), and restart networkmanager.
*
* If you chose iwd, you have to also add 'wifi.backend=iwd' into section
* '[device]' in /etc/NetworkManager/NetworkManager.conf.
*
(223/230) Installing mobile-broadband-provider-info (20230416-r0)
(224/230) Installing libmm-glib (1.22.0-r0)
(225/230) Installing networkmanager-wwan (1.44.4-r0)
(226/230) Installing networkmanager-dnsmasq (1.44.4-r0)
(227/230) Installing postmarketos-base-ui-networkmanager (16-r0)
(228/230) Installing wireless-tools-libs (30_pre9-r4)
(229/230) Installing wireless-tools (30_pre9-r4)
(230/230) Installing postmarketos-ui-console (0.1-r5)
Executing postmarketos-ui-console-0.1-r5.post-install
* service networkmanager added to runlevel default
Executing busybox-1.36.1-r15.trigger
Executing eudev-hwids-3.2.14-r0.trigger
Executing eudev-3.2.14-r0.trigger
Executing postmarketos-mkinitfs-2.2.2-r2.trigger
01:15:25.487748 Generating for kernel version: 6.2.0
01:15:25.489551 Output directory: /boot
01:15:25.489768 Unknown or no compression format set, using gzip
01:15:25.489848 == Generating initramfs ==
01:15:25.490131 - Using compression format gzip with level "default"
01:15:25.491311 - Searching for directories specified in /usr/share/mkinitfs/dirs
01:15:25.492089 -- Creating directories from: /usr/share/mkinitfs/dirs/00-initramfs-base.dirs
01:15:25.494011 - Searching for directories specified in /etc/mkinitfs/dirs
01:15:25.494291 - Searching for file lists from /usr/share/mkinitfs/files
01:15:25.494785 -- Including files from: /usr/share/mkinitfs/files/00-device-google-gru-modules.files
01:15:25.495830 -- Including files from: /usr/share/mkinitfs/files/00-initramfs-base.files
01:15:25.503950 -- Including files from: /usr/share/mkinitfs/files/30-postmarketos-bootsplash.files
01:15:25.504735 -- Including files from: /usr/share/mkinitfs/files/30-rockchip-dptx-firmware.files
01:15:25.504847 -- Including files from: /usr/share/mkinitfs/files/postmarketos-base.files
01:15:25.505082 - Searching for file lists from /etc/mkinitfs/files
01:15:25.505219 - Searching for hook scripts from /usr/share/mkinitfs/hooks
01:15:25.505371 - Searching for hook scripts from /etc/mkinitfs/hooks
01:15:25.506475 - Searching for kernel modules from /usr/share/mkinitfs/modules
01:15:25.506702 -- Including modules from: /usr/share/mkinitfs/modules/00-default.modules
01:15:25.589659 -- Including modules from: /usr/share/mkinitfs/modules/00-device-google-gru.modules
01:15:25.602216 - Searching for kernel modules from /etc/mkinitfs/modules
01:15:26.230911 initramfs completed in: 0.74s
01:15:26.231817 Unknown or no compression format set, using gzip
01:15:26.231864 == Generating initramfs-extra ==
01:15:26.231932 - Using compression format gzip with level "default"
01:15:26.232216 - Searching for file lists from /usr/share/mkinitfs/files-extra
01:15:26.232403 -- Including files from: /usr/share/mkinitfs/files-extra/00-initramfs-extra-base.files
01:15:26.243471 - Searching for file lists from /etc/mkinitfs/files-extra
01:15:26.243572 - Searching for hook scripts from /usr/share/mkinitfs/hooks-extra
01:15:26.243660 - Searching for hook scripts from /etc/mkinitfs/hooks-extra
01:15:26.244014 - Searching for kernel modules from /usr/share/mkinitfs/modules-extra
01:15:26.244457 - Searching for kernel modules from /etc/mkinitfs/modules-extra
01:15:26.783247 initramfs-extra completed in: 0.55s
01:15:26.783367 == Using boot-deploy to finalize/install files ==
==> Running hooks
==> kernel: device-tree blob operations
==> Generating vmlinuz.kpart
Building depthcharge image for board 'Unnamed gru board' ('gru').
Built depthcharge image for kernel version '(unknown)'.
/tmp/mkinitfs2822420672/vmlinuz.kpart
==> Generating extlinux.conf
==> Checking free space at /boot
... OK!
==> Installing: /boot/initramfs
==> Installing: /boot/initramfs-extra
==> Installing: /boot/rk3399-gru-scarlet-dumo.dtb
==> Installing: /boot/rk3399-gru-kevin.dtb
==> Installing: /boot/rk3399-gru-scarlet-inx.dtb
==> Installing: /boot/rk3399-gru-bob.dtb
==> Installing: /boot/rk3399-gru-scarlet-kd.dtb
==> Installing: /boot/vmlinuz.kpart
==> Installing: /boot//extlinux/extlinux.conf
==> Not flashing vmlinuz.kpart in chroot
01:15:34.789682 boot-deploy completed in: 8.01s
01:15:34.799074 mkinitfs completed in: 9.31s
Executing postmarketos-base-30-r0.trigger
Executing dbus-1.14.10-r0.trigger
Executing fontconfig-2.14.2-r4.trigger
Executing mkfontscale-1.2.2-r4.trigger
Executing ca-certificates-20240226-r0.trigger
Executing glib-2.78.4-r0.trigger
OK: 498 MiB in 254 packages
(002311) [01:15:35] (rootfs_google-gru) % apk --no-progress del openssh-client-krb5 vlan --no-interactive
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
OK: 498 MiB in 254 packages
(002311) [01:15:36] (rootfs_google-gru) calculate depends of device-google-gru (pmbootstrap -v for details)
(002311) [01:15:36] (rootfs_google-gru) install device-google-gru
(002311) [01:15:36] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/tmp/apk_progress_fifo
(002311) [01:15:36] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/tmp/apk_progress_fifo
(002311) [01:15:36] (rootfs_google-gru) % cat /tmp/apk_progress_fifo
(002311) [01:15:36] (rootfs_google-gru) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add device-google-gru --no-interactive
(002311) [01:15:36] New background process: pid=5310, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
OK: 498 MiB in 254 packages
(002311) [01:15:37] (rootfs_google-gru) % apk --no-progress del openssh-client-krb5 vlan --no-interactive
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
OK: 498 MiB in 254 packages
(002311) [01:15:38] (rootfs_google-gru) calculate depends of postmarketos-mkinitfs (pmbootstrap -v for details)
(002311) [01:15:38] (rootfs_google-gru) install postmarketos-mkinitfs
(002311) [01:15:38] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/tmp/apk_progress_fifo
(002311) [01:15:38] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/tmp/apk_progress_fifo
(002311) [01:15:38] (rootfs_google-gru) % cat /tmp/apk_progress_fifo
(002311) [01:15:38] (rootfs_google-gru) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add postmarketos-mkinitfs --no-interactive
(002311) [01:15:38] New background process: pid=5327, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
OK: 498 MiB in 254 packages
(002311) [01:15:39] (rootfs_google-gru) mkinitfs postmarketos-rockchip
(002311) [01:15:39] (rootfs_google-gru) % mkinitfs
01:15:39.599285 Generating for kernel version: 6.2.0
01:15:39.601129 Output directory: /boot
01:15:39.601337 Unknown or no compression format set, using gzip
01:15:39.601413 == Generating initramfs ==
01:15:39.601713 - Using compression format gzip with level "default"
01:15:39.602916 - Searching for directories specified in /usr/share/mkinitfs/dirs
01:15:39.603674 -- Creating directories from: /usr/share/mkinitfs/dirs/00-initramfs-base.dirs
01:15:39.605065 - Searching for directories specified in /etc/mkinitfs/dirs
01:15:39.605472 - Searching for file lists from /usr/share/mkinitfs/files
01:15:39.605960 -- Including files from: /usr/share/mkinitfs/files/00-device-google-gru-modules.files
01:15:39.607047 -- Including files from: /usr/share/mkinitfs/files/00-initramfs-base.files
01:15:39.615027 -- Including files from: /usr/share/mkinitfs/files/30-postmarketos-bootsplash.files
01:15:39.615788 -- Including files from: /usr/share/mkinitfs/files/30-rockchip-dptx-firmware.files
01:15:39.615971 -- Including files from: /usr/share/mkinitfs/files/postmarketos-base.files
01:15:39.616308 - Searching for file lists from /etc/mkinitfs/files
01:15:39.616473 - Searching for hook scripts from /usr/share/mkinitfs/hooks
01:15:39.616649 - Searching for hook scripts from /etc/mkinitfs/hooks
01:15:39.617989 - Searching for kernel modules from /usr/share/mkinitfs/modules
01:15:39.618270 -- Including modules from: /usr/share/mkinitfs/modules/00-default.modules
01:15:39.706307 -- Including modules from: /usr/share/mkinitfs/modules/00-device-google-gru.modules
01:15:39.718989 - Searching for kernel modules from /etc/mkinitfs/modules
01:15:40.339562 initramfs completed in: 0.74s
01:15:40.340489 Unknown or no compression format set, using gzip
01:15:40.340538 == Generating initramfs-extra ==
01:15:40.340612 - Using compression format gzip with level "default"
01:15:40.340904 - Searching for file lists from /usr/share/mkinitfs/files-extra
01:15:40.341062 -- Including files from: /usr/share/mkinitfs/files-extra/00-initramfs-extra-base.files
01:15:40.351579 - Searching for file lists from /etc/mkinitfs/files-extra
01:15:40.351669 - Searching for hook scripts from /usr/share/mkinitfs/hooks-extra
01:15:40.351756 - Searching for hook scripts from /etc/mkinitfs/hooks-extra
01:15:40.352109 - Searching for kernel modules from /usr/share/mkinitfs/modules-extra
01:15:40.352549 - Searching for kernel modules from /etc/mkinitfs/modules-extra
01:15:40.884156 initramfs-extra completed in: 0.54s
01:15:40.884267 == Using boot-deploy to finalize/install files ==
==> Running hooks
==> kernel: device-tree blob operations
==> Generating vmlinuz.kpart
Building depthcharge image for board 'Unnamed gru board' ('gru').
Built depthcharge image for kernel version '(unknown)'.
/tmp/mkinitfs1558479429/vmlinuz.kpart
==> Generating extlinux.conf
==> Checking free space at /boot
... OK!
==> Installing: /boot/initramfs
==> Installing: /boot/initramfs-extra
==> Installing: /boot/rk3399-gru-scarlet-dumo.dtb
==> Installing: /boot/rk3399-gru-kevin.dtb
==> Installing: /boot/rk3399-gru-scarlet-inx.dtb
==> Installing: /boot/rk3399-gru-bob.dtb
==> Installing: /boot/rk3399-gru-scarlet-kd.dtb
==> Installing: /boot/vmlinuz.kpart
==> Installing: /boot//extlinux/extlinux.conf
==> Not flashing vmlinuz.kpart in chroot
01:15:48.949524 boot-deploy completed in: 8.07s
01:15:48.954145 mkinitfs completed in: 9.36s
(002311) [01:15:48] *** SET LOGIN PASSWORD FOR: 'user' ***
(002311) [01:15:48] (rootfs_google-gru) % passwd user
New password: Retype new password: passwd: password updated successfully
(002311) [01:15:49] (rootfs_google-gru) % grep ^root:!: /etc/shadow
(002311) [01:15:49] (rootfs_google-gru) locking root
(002311) [01:15:49] (rootfs_google-gru) % passwd -l root
passwd: password changed.
(002311) [01:15:49] NOTE: No valid keymap specified for device
(002311) [01:15:49] (rootfs_google-gru) % setup-timezone -i GMT
(002311) [01:15:50] (rootfs_google-gru) % sh -c echo google-gru > /etc/hostname
(002311) [01:15:50] (rootfs_google-gru) % sed -i -e s/^127\.0\.0\.1.*/127.0.0.1\tgoogle\-gru localhost.localdomain localhost/ /etc/hosts
(002311) [01:15:50] (rootfs_google-gru) % rc-update del sshd default
* service sshd removed from runlevel default
(002311) [01:15:50] % cd /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/etc/runlevels; sudo find -name sshd
(002311) [01:15:50] *** (3/4) PREPARE INSTALL BLOCKDEVICE ***
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/var/cache/distfiles
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/var/cache/apk
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/usr/bin/qemu-aarch64-static
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/proc
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/sccache
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/rust
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/packages
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/netboot
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/go
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/git
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/ccache
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/abuild-config
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/appstream-data
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/etc/apk/keys
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/shm
(002311) [01:15:50] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev
(002311) [01:15:50] % sudo rm /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/in-pmbootstrap
(002311) [01:15:50] % sudo rm /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
(002311) [01:15:50] % sudo du -ks /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru
543540 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
(002311) [01:15:50] (native) % busybox su pmos -c HOME=/home/pmos mkdir -p /home/pmos/rootfs
(002311) [01:15:50] (native) create google-gru.img (943M)
(002311) [01:15:50] (native) % truncate -s 943M /home/pmos/rootfs/google-gru.img
(002311) [01:15:50] (native) mount /dev/install (google-gru.img)
(002311) [01:15:50] (native) mount /home/pmos/rootfs/google-gru.img (loop)
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop-control
(002311) [01:15:50] % sudo mount --bind /dev/loop-control /home/build/.local/var/pmbootstrap/chroot_native//dev/loop-control
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop0
(002311) [01:15:50] % sudo mount --bind /dev/loop0 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop0
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop1
(002311) [01:15:50] % sudo mount --bind /dev/loop1 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop1
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop2
(002311) [01:15:50] % sudo mount --bind /dev/loop2 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop2
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop3
(002311) [01:15:50] % sudo mount --bind /dev/loop3 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop3
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop4
(002311) [01:15:50] % sudo mount --bind /dev/loop4 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop4
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop5
(002311) [01:15:50] % sudo mount --bind /dev/loop5 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop5
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop6
(002311) [01:15:50] % sudo mount --bind /dev/loop6 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop6
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native//dev/loop7
(002311) [01:15:50] % sudo mount --bind /dev/loop7 /home/build/.local/var/pmbootstrap/chroot_native//dev/loop7
(002311) [01:15:50] (native) % losetup -f /home/pmos/rootfs/google-gru.img
(002311) [01:15:50] (native) % losetup --json --list
{
"loopdevices": [
{
"name": "/dev/loop0",
"sizelimit": 0,
"offset": 0,
"autoclear": false,
"ro": false,
"back-file": "/home/pmos/rootfs/google-gru.img",
"dio": false,
"log-sec": 512
}
]
}
(002311) [01:15:50] (native) % losetup --json --list
{
"loopdevices": [
{
"name": "/dev/loop0",
"sizelimit": 0,
"offset": 0,
"autoclear": false,
"ro": false,
"back-file": "/home/pmos/rootfs/google-gru.img",
"dio": false,
"log-sec": 512
}
]
}
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/dev/install
(002311) [01:15:50] % sudo mount --bind /dev/loop0 /home/build/.local/var/pmbootstrap/chroot_native/dev/install
(002311) [01:15:50] (native) calculate depends of cgpt (pmbootstrap -v for details)
(002311) [01:15:50] (native) install cgpt
(002311) [01:15:50] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002311) [01:15:50] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002311) [01:15:50] (native) % cat /tmp/apk_progress_fifo
(002311) [01:15:50] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add cgpt --no-interactive
(002311) [01:15:50] New background process: pid=7927, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/1) Installing cgpt (6310032-r8)
Executing busybox-1.36.1-r15.trigger
OK: 23 MiB in 72 packages
(002311) [01:15:50] (native) partition /dev/install (boot: 256M, reserved: 0M, root: the rest)
(002311) [01:15:50] (native) % blockdev --getsz /dev/install
1931264
(002311) [01:15:50] (native) % parted -s /dev/install mktable gpt
(002311) [01:15:50] (native) % cgpt create /dev/install
(002311) [01:15:50] (native) % cgpt add -i 1 -t kernel -b 8192 -s 65536 -l pmOS_kernel -S 1 -T 5 -P 10 /dev/install
(002311) [01:15:50] (native) % cgpt add -i 2 -t efi -b 73728 -s 524288 -l pmOS_boot /dev/install
(002311) [01:15:50] (native) % cgpt add -i 3 -t data -b 598016 -s 1333215 -l pmOS_root /dev/install
(002311) [01:15:50] (native) % partx -a /dev/install
(002311) [01:15:50] (native) % losetup --json --list
{
"loopdevices": [
{
"name": "/dev/loop0",
"sizelimit": 0,
"offset": 0,
"autoclear": false,
"ro": false,
"back-file": "/home/pmos/rootfs/google-gru.img",
"dio": false,
"log-sec": 512
}
]
}
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/dev/installp2
(002311) [01:15:50] % sudo mount --bind /dev/loop0p2 /home/build/.local/var/pmbootstrap/chroot_native/dev/installp2
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/dev/installp3
(002311) [01:15:50] % sudo mount --bind /dev/loop0p3 /home/build/.local/var/pmbootstrap/chroot_native/dev/installp3
(002311) [01:15:50] % sudo touch /home/build/.local/var/pmbootstrap/chroot_native/dev/installp1
(002311) [01:15:50] % sudo mount --bind /dev/loop0p1 /home/build/.local/var/pmbootstrap/chroot_native/dev/installp1
(002311) [01:15:50] (native) calculate depends of e2fsprogs (pmbootstrap -v for details)
(002311) [01:15:50] (native) install e2fsprogs
(002311) [01:15:50] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002311) [01:15:50] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002311) [01:15:50] (native) % cat /tmp/apk_progress_fifo
(002311) [01:15:50] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add e2fsprogs --no-interactive
(002311) [01:15:50] New background process: pid=7969, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
(1/3) Installing libcom_err (1.47.0-r5)
(2/3) Installing e2fsprogs-libs (1.47.0-r5)
(3/3) Installing e2fsprogs (1.47.0-r5)
Executing busybox-1.36.1-r15.trigger
OK: 23 MiB in 75 packages
(002311) [01:15:51] (native) format /dev/installp3 (root, ext4)
(002311) [01:15:51] (native) % mkfs.ext4 -O ^metadata_csum -F -q -L pmOS_root -N 100000 /dev/installp3
(002311) [01:15:51] (native) mount /dev/installp3 to /mnt/install
(002311) [01:15:51] (native) % mkdir -p /mnt/install
(002311) [01:15:51] (native) % mount /dev/installp3 /mnt/install
(002311) [01:15:51] (native) calculate depends of e2fsprogs (pmbootstrap -v for details)
(002311) [01:15:51] (native) install e2fsprogs
(002311) [01:15:51] % sudo rm -f /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002311) [01:15:51] % sudo mkfifo /home/build/.local/var/pmbootstrap/chroot_native/tmp/apk_progress_fifo
(002311) [01:15:51] (native) % cat /tmp/apk_progress_fifo
(002311) [01:15:51] (native) % sh -c exec 3>/tmp/apk_progress_fifo; apk --no-progress --progress-fd 3 add e2fsprogs --no-interactive
(002311) [01:15:51] New background process: pid=7989, output=background
WARNING: opening /mnt/pmbootstrap/packages: No such file or directory
OK: 23 MiB in 75 packages
(002311) [01:15:51] (native) format /dev/installp2 (boot, ext2), mount to /mnt/install/boot
(002311) [01:15:51] (native) % mkfs.ext2 -F -q -L pmOS_boot /dev/installp2
(002311) [01:15:51] (native) % mkdir -p /mnt/install/boot
(002311) [01:15:51] (native) % mount /dev/installp2 /mnt/install/boot
(002311) [01:15:51] (native) create /etc/fstab
(002311) [01:15:51] (native) % blkid -s UUID -o value /dev/installp2
bd7f812e-57ca-4ff1-b96a-0a00aa3e2040
(002311) [01:15:51] (native) % blkid -s UUID -o value /dev/installp3
33116ad7-8010-426e-8c18-eac4c6892ce7
(002311) [01:15:51] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev
(002311) [01:15:51] % sudo mount -t tmpfs -o size=1M,noexec,dev tmpfs /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev
(002311) [01:15:51] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/pts /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/shm
(002311) [01:15:51] % sudo mount -t tmpfs -o nodev,nosuid,noexec tmpfs /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/shm
(002311) [01:15:51] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/null c 1 3
(002311) [01:15:51] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/zero c 1 5
(002311) [01:15:51] % sudo mknod -m 666 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/full c 1 7
(002311) [01:15:51] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/random c 1 8
(002311) [01:15:51] % sudo mknod -m 644 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/urandom c 1 9
(002311) [01:15:51] % sudo ln -sf /proc/self/fd /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/
(002311) [01:15:51] % sudo mount --bind /proc /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/proc
(002311) [01:15:51] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_apk_aarch64 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/var/cache/apk
(002311) [01:15:51] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_appstream/aarch64/v23.12 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/appstream-data
(002311) [01:15:51] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_ccache_aarch64 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/ccache
(002311) [01:15:51] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_distfiles /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/var/cache/distfiles
(002311) [01:15:51] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_git /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/git
(002311) [01:15:51] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_go /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/go
(002311) [01:15:51] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_rust /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/rust
(002311) [01:15:51] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_abuild /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/abuild-config
(002311) [01:15:51] % sudo mount --bind /home/build/.local/var/pmbootstrap/config_apk_keys /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/etc/apk/keys
(002311) [01:15:51] % sudo mount --bind /home/build/.local/var/pmbootstrap/cache_sccache /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/sccache
(002311) [01:15:51] % sudo mount --bind /home/build/.local/var/pmbootstrap/images_netboot /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/netboot
(002311) [01:15:51] % sudo mount --bind /home/build/.local/var/pmbootstrap/packages/v23.12 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/packages
(002311) [01:15:51] % sudo mount --bind /home/build/.local/var/pmbootstrap/chroot_native/usr/bin/qemu-aarch64 /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/usr/bin/qemu-aarch64-static
(002311) [01:15:51] % sudo touch /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/in-pmbootstrap
(002311) [01:15:51] (rootfs_google-gru) % mv /tmp/fstab /etc/fstab
(002311) [01:15:51] (rootfs_google-gru) mkinitfs
(002311) [01:15:51] (rootfs_google-gru) % mkinitfs
01:15:51.641276 Generating for kernel version: 6.2.0
01:15:51.643891 Output directory: /boot
01:15:51.644101 Unknown or no compression format set, using gzip
01:15:51.644181 == Generating initramfs ==
01:15:51.644474 - Using compression format gzip with level "default"
01:15:51.645736 - Searching for directories specified in /usr/share/mkinitfs/dirs
01:15:51.646508 -- Creating directories from: /usr/share/mkinitfs/dirs/00-initramfs-base.dirs
01:15:51.647880 - Searching for directories specified in /etc/mkinitfs/dirs
01:15:51.648786 - Searching for file lists from /usr/share/mkinitfs/files
01:15:51.649941 -- Including files from: /usr/share/mkinitfs/files/00-device-google-gru-modules.files
01:15:51.652410 -- Including files from: /usr/share/mkinitfs/files/00-initramfs-base.files
01:15:51.669673 -- Including files from: /usr/share/mkinitfs/files/30-postmarketos-bootsplash.files
01:15:51.671300 -- Including files from: /usr/share/mkinitfs/files/30-rockchip-dptx-firmware.files
01:15:51.671571 -- Including files from: /usr/share/mkinitfs/files/postmarketos-base.files
01:15:51.672104 - Searching for file lists from /etc/mkinitfs/files
01:15:51.672316 - Searching for hook scripts from /usr/share/mkinitfs/hooks
01:15:51.672457 - Searching for hook scripts from /etc/mkinitfs/hooks
01:15:51.673546 - Searching for kernel modules from /usr/share/mkinitfs/modules
01:15:51.673793 -- Including modules from: /usr/share/mkinitfs/modules/00-default.modules
01:15:51.777183 -- Including modules from: /usr/share/mkinitfs/modules/00-device-google-gru.modules
01:15:51.789726 - Searching for kernel modules from /etc/mkinitfs/modules
01:15:52.408074 initramfs completed in: 0.76s
01:15:52.408948 Unknown or no compression format set, using gzip
01:15:52.408992 == Generating initramfs-extra ==
01:15:52.409052 - Using compression format gzip with level "default"
01:15:52.409352 - Searching for file lists from /usr/share/mkinitfs/files-extra
01:15:52.409510 -- Including files from: /usr/share/mkinitfs/files-extra/00-initramfs-extra-base.files
01:15:52.419901 - Searching for file lists from /etc/mkinitfs/files-extra
01:15:52.419982 - Searching for hook scripts from /usr/share/mkinitfs/hooks-extra
01:15:52.420072 - Searching for hook scripts from /etc/mkinitfs/hooks-extra
01:15:52.420433 - Searching for kernel modules from /usr/share/mkinitfs/modules-extra
01:15:52.420875 - Searching for kernel modules from /etc/mkinitfs/modules-extra
01:15:52.943489 initramfs-extra completed in: 0.53s
01:15:52.943580 == Using boot-deploy to finalize/install files ==
==> Running hooks
==> kernel: device-tree blob operations
==> Generating vmlinuz.kpart
Building depthcharge image for board 'Unnamed gru board' ('gru').
Built depthcharge image for kernel version '(unknown)'.
/tmp/mkinitfs3046288186/vmlinuz.kpart
==> Generating extlinux.conf
==> Checking free space at /boot
... OK!
==> Installing: /boot/initramfs
==> Installing: /boot/initramfs-extra
==> Installing: /boot/rk3399-gru-scarlet-dumo.dtb
==> Installing: /boot/rk3399-gru-kevin.dtb
==> Installing: /boot/rk3399-gru-scarlet-inx.dtb
==> Installing: /boot/rk3399-gru-bob.dtb
==> Installing: /boot/rk3399-gru-scarlet-kd.dtb
==> Installing: /boot/vmlinuz.kpart
==> Installing: /boot//extlinux/extlinux.conf
==> Not flashing vmlinuz.kpart in chroot
01:16:02.117884 boot-deploy completed in: 9.17s
01:16:02.122590 mkinitfs completed in: 10.48s
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/var/cache/distfiles
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/var/cache/apk
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/usr/bin/qemu-aarch64-static
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/proc
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/sccache
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/rust
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/packages
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/netboot
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/go
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/git
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/ccache
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/abuild-config
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/appstream-data
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/etc/apk/keys
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev/shm
(002311) [01:16:02] % sudo umount /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/dev
(002311) [01:16:02] % sudo rm /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/in-pmbootstrap
(002311) [01:16:02] % sudo rmdir /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/sccache
(002311) [01:16:02] % sudo rmdir /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/netboot
(002311) [01:16:02] % sudo rmdir /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/packages
(002311) [01:16:02] % sudo rmdir /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/git
(002311) [01:16:02] % sudo rmdir /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/go
(002311) [01:16:02] % sudo rmdir /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/abuild-config
(002311) [01:16:02] % sudo rmdir /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/rust
(002311) [01:16:02] % sudo rmdir /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap/ccache
(002311) [01:16:02] % sudo rmdir /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/mnt/pmbootstrap
(002311) [01:16:02] *** (4/4) FILL INSTALL BLOCKDEVICE ***
(002311) [01:16:02] (native) copy rootfs_google-gru to /mnt/install/
(002311) [01:16:02] % sudo mkdir -p /home/build/.local/var/pmbootstrap/chroot_native/mnt/rootfs_google-gru
(002311) [01:16:02] % sudo mount --bind /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru /home/build/.local/var/pmbootstrap/chroot_native/mnt/rootfs_google-gru
(002311) [01:16:02] % sudo rm /home/build/.local/var/pmbootstrap/chroot_native/mnt/rootfs_google-gru/usr/bin/qemu-aarch64-static
(002311) [01:16:02] % sudo rm /home/build/.local/var/pmbootstrap/chroot_rootfs_google-gru/tmp/apk_progress_fifo
(002311) [01:16:02] (native) % cd /mnt/rootfs_google-gru; cp -a usr var sbin media run mnt dev srv root bin etc proc boot tmp sys opt lib /mnt/install/
(002311) [01:16:03] % sudo mkdir /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/home
(002311) [01:16:03] % 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
(002311) [01:16:03] % sudo chown -R 10000 /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/home/user
(002311) [01:16:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616a9724.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002311) [01:16:03] % 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/
(002311) [01:16:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616adfeb.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002311) [01:16:03] % 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/
(002311) [01:16:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616db30d.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002311) [01:16:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-61666e3f.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002311) [01:16:03] % 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/
(002311) [01:16:03] % 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/
(002311) [01:16:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616ae350.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002311) [01:16:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616abc23.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002311) [01:16:03] % 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/
(002311) [01:16:03] % 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/
(002311) [01:16:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-60ac2099.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002311) [01:16:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-6165ee59.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002311) [01:16:03] % 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/
(002311) [01:16:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-616ac3bc.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002311) [01:16:03] % sudo cp /home/build/pmbootstrap/pmb/data/keys/alpine-devel@lists.alpinelinux.org-5e69ca50.rsa.pub /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/keys/
(002311) [01:16:03] % 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/
(002311) [01:16:03] % sudo cp /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.618c1216.tar.gz /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/var/cache/apk/
(002311) [01:16:03] % sudo cp /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.b2c94760.tar.gz /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/var/cache/apk/
(002311) [01:16:03] % sudo cp /home/build/.local/var/pmbootstrap/cache_apk_aarch64/APKINDEX.be78cdff.tar.gz /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/var/cache/apk/
(002311) [01:16:03] % sudo sed -i /\/mnt\/pmbootstrap\/packages/d /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/repositories
(002311) [01:16:03] % cat /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/etc/apk/repositories
http://mirror.postmarketos.org/postmarketos/v23.12
http://dl-cdn.alpinelinux.org/alpine/v3.19/main
http://dl-cdn.alpinelinux.org/alpine/v3.19/community
(002311) [01:16:03] (native) % dd if=/mnt/rootfs_google-gru/boot/vmlinuz.kpart of=/dev/installp1
43512+0 records in
43512+0 records out
22278144 bytes (21.2MB) copied, 0.595981 seconds, 35.6MB/s
(002311) [01:16:03] % sudo umount /home/build/.local/var/pmbootstrap/chroot_native/mnt/install/boot
(002311) [01:16:03] % sudo umount /home/build/.local/var/pmbootstrap/chroot_native/mnt/install
(002311) [01:16:04] (native) % losetup --json --list
{
"loopdevices": [
{
"name": "/dev/loop0",
"sizelimit": 0,
"offset": 0,
"autoclear": false,
"ro": false,
"back-file": "/home/pmos/rootfs/google-gru.img",
"dio": false,
"log-sec": 512
}
]
}
(002311) [01:16:04] (native) umount /dev/loop0
(002311) [01:16:04] (native) % losetup -d /dev/loop0
(002311) [01:16:04] % sudo rm /home/build/.local/var/pmbootstrap/chroot_native/in-pmbootstrap
(002311) [01:16:04]
(002311) [01:16:04] *** FLASHING INFORMATION ***
(002311) [01:16:04] Refer to the installation instructions of your device, or the generic install instructions in the wiki.
(002311) [01:16:04] https://wiki.postmarketos.org/wiki/Installation_guide#pmbootstrap_flash
(002311) [01:16:04]
(002311) [01:16:04] *** SSH DAEMON INFORMATION ***
(002311) [01:16:04] SSH daemon is disabled (--no-sshd).
(002311) [01:16:04]
(002311) [01:16:04] *** FIREWALL INFORMATION ***
(002311) [01:16:04] Firewall is enabled, but may not work (couldn't determine if kernel supports nftables).
(002311) [01:16:04] For more information: https://postmarketos.org/firewall
(002311) [01:16:04]
(002311) [01:16:04] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
(002311) [01:16:04] DONE!
++ pmbootstrap config work
+ '[' -e /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/rootfs/google-gru.img ']'
++ pmbootstrap config work
+ sudo mv /home/build/.local/var/pmbootstrap/chroot_native/home/pmos/rootfs/google-gru.img out/20240403-0114-postmarketOS-v23.12-console-0.1-google-gru.img
+ ls -lh out
total 612M
-rw-r--r-- 1 root 12345 943M Apr 3 01:16 20240403-0114-postmarketOS-v23.12-console-0.1-google-gru.img
|