Guest User

PostmarketOS Build

a guest
Jul 21st, 2020
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.99 KB | None | 0 0
  1. pip install -U pmbootstrap
  2.  
  3. pip list | grep pmbootstrap
  4.  
  5. pmbootstrap 1.22.0
  6.  
  7. pmbootstrap pull
  8.  
  9. pmbootstrap init
  10.  
  11. [11:26:32] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
  12. [11:26:32] Work path [/home/linuxuser/.local/var/pmbootstrap]:
  13. [11:26:39] NOTE: pmaports path: /home/linuxuser/.local/var/pmbootstrap/cache_git/pmaports
  14. [11:26:39] Choose the postmarketOS release channel.
  15. [11:26:39] Available (2):
  16. [11:26:39] * edge: Rolling release channel
  17. [11:26:39] * stable: Stable release channel (first beta v20.05, does not have many devices yet)
  18. [11:26:39] Channel [edge]:
  19. [11:26:40] Choose your target device vendor (either an existing one, or a new one for porting).
  20. [11:26:40] Available vendors (51): alcatel, amazon, arrow, asus, bq, chuwi, essential, fairphone, finepower, fly, fujitsu, google, gp, hisense, htc, huawei, infocus, jolla, leeco, lenovo, lg, medion, meizu, motorola, nextbit, nobby, nokia, oneplus, oppo, ouya, pine64, planet, purism, qemu, raspberry, samsung, semc, sharp, sony, surftab, t2m, tablet, teclast, tokio, wiko, wileyfox, wingtech, xiaomi, yu, zte, zuk
  21. [11:26:40] Vendor [pine64]:
  22. [11:26:43] Available codenames (6): a64lts, dontbeevil, pinebookpro, pinephone, pinetab, rockpro64
  23. [11:26:43] Device codename [pinephone]:
  24. [11:26:45] This device has proprietary components, which trade some of your freedom with making more peripherals work.
  25. [11:26:45] We would like to offer full functionality without hurting your freedom, but this is currently not possible for your device.
  26. [11:26:45] device-pine64-pinephone-nonfree-firmware: Wifi and Bluetooth firmware
  27. [11:26:45] Enable this package? (y/n) [y]:
  28. [11:26:48] Username [linuxuser]: pinephone
  29. [11:26:52] Available user interfaces (12):
  30. [11:26:52] * none: No graphical environment
  31. [11:26:52] * fbkeyboard: Plain framebuffer console with touchscreen keyboard support
  32. [11:26:52] * gnome: (Wayland) Gnome Shell
  33. [11:26:52] * i3wm: (X11) Tiling WM (keyboard required)
  34. [11:26:52] * kodi: (Wayland) 10-foot UI useful on TV's
  35. [11:26:52] * mate: (X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)
  36. [11:26:52] * phosh: (Wayland) Mobile UI developed for the Librem 5 (works only with numeric passwords!)
  37. [11:26:52] * plasma-desktop: (X11/Wayland) KDE Desktop Environment (works well with tablets)
  38. [11:26:52] * plasma-mobile: (Wayland) Mobile variant of KDE Plasma (does not run without hardware acceleration, allows only numeric passwords!)
  39. [11:26:52] * shelli: Plain console with touchscreen gesture support
  40. [11:26:52] * sway: (Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)
  41. [11:26:52] * weston: (Wayland) Reference compositor (demo, not a phone interface)
  42. [11:26:52] * xfce4: (X11) Lightweight desktop (stylus recommended)
  43. [11:26:52] User interface [plasma-mobile]: phosh
  44. [11:27:00] Additional options: boot partition size: 128 MB, parallel jobs: 5, ccache per arch: 5G
  45. [11:27:00] Change them? (y/n) [n]:
  46. [11:27:04] Additional packages that will be installed to rootfs. Specify them in a comma separated list (e.g.: vim,file) or "none"
  47. [11:27:04] Extra packages [most,tree,curl,wget,unzip,jq,moreutils,htop,binutils]:
  48. [11:27:10] Your host timezone: America/Chicago
  49. [11:27:10] Use this timezone instead of GMT? (y/n) [y]:
  50. [11:27:12] Device hostname (short form, e.g. 'foo') [pine64-pinephone]:
  51. [11:27:15] Would you like to copy your SSH public keys to the device? (y/n) [y]:
  52. [11:27:17] After pmaports are changed, the binary packages may be outdated. If you want to install postmarketOS without changes, reply 'n' for a faster installation.
  53. [11:27:17] Build outdated packages during 'pmbootstrap install'? (y/n) [y]:
  54. [11:27:21] WARNING: The chroots and git repositories in the work dir do not get updated automatically.
  55. [11:27:21] Run 'pmbootstrap status' once a day before working with pmbootstrap to make sure that everything is up-to-date.
  56. [11:27:21] Done!
  57.  
  58.  
  59. pmbootstrap install --sdcard=/dev/sdb
  60.  
  61.  
  62. [11:40:31] *** (1/5) PREPARE NATIVE CHROOT ***
  63. [11:40:33] *** (2/5) CREATE DEVICE ROOTFS ("pine64-pinephone") ***
  64. [11:40:35] WARNING: aarch64 package 'polkit' installed version 0.116-r2 is newer, than the version in the repositories: 0.116-r1 See also: <https://postmarketos.org/warning-repo>
  65. [11:40:35] (rootfs_pine64-pinephone) install
  66. [11:40:39] WARNING: aarch64 package 'polkit' installed version 0.116-r2 is newer, than the version in the repositories: 0.116-r1 See also: <https://postmarketos.org/warning-repo>
  67. [11:40:39] (rootfs_pine64-pinephone) install
  68. [11:40:42] (rootfs_pine64-pinephone) write /etc/os-release
  69. [11:40:42] (rootfs_pine64-pinephone) install
  70. [11:40:45] (rootfs_pine64-pinephone) install
  71. [11:40:49] (rootfs_pine64-pinephone) mkinitfs postmarketos-allwinner
  72. [11:41:17] *** SET LOGIN PASSWORD FOR: 'pinephone' ***
  73. New password:
  74. Retype new password:
  75. passwd: password updated successfully
  76. [11:41:41] NOTE: No valid keymap specified for device
  77. [11:41:43] *** (3/5) PREPARE INSTALL BLOCKDEVICE ***
  78. [11:41:44] (native) mount /dev/install (host: /dev/sdb)
  79. [11:41:44] WARNING: This device has a previous installation of pmOS. CONTINUE? (y/n) [n]: y
  80. [11:41:47] (native) partition /dev/install (boot: 128M, reserved: 0M, root: the rest)
  81. [11:41:48] (native) format /dev/installp2
  82. [11:42:53] (native) mount /dev/installp2 to /mnt/install
  83. [11:42:53] (native) format /dev/installp1 (boot, ext2), mount to /mnt/install/boot
  84. [11:43:11] *** (4/5) FILL INSTALL BLOCKDEVICE ***
  85. [11:43:11] (native) copy rootfs_pine64-pinephone to /mnt/install/
  86. [11:43:21] Embed firmware u-boot/pine64-pinephone/u-boot-sunxi-with-spl.bin in the SD card image at offset 8 with step size 1024
  87. [11:49:04] *** (5/5) FLASHING TO DEVICE ***
  88. [11:49:04] Run the following to flash your installation to the target device:
  89. [11:49:04] * If the above steps do not work, you can also create symlinks to the generated files with 'pmbootstrap export' and flash outside of pmbootstrap.
  90. [11:49:04] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
  91. [11:49:04] Done
Add Comment
Please, Sign In to add comment