Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pip install -U pmbootstrap
- pip list | grep pmbootstrap
- pmbootstrap 1.22.0
- pmbootstrap pull
- pmbootstrap init
- [11:26:32] Location of the 'work' path. Multiple chroots (native, device arch, device rootfs) will be created in there.
- [11:26:32] Work path [/home/linuxuser/.local/var/pmbootstrap]:
- [11:26:39] NOTE: pmaports path: /home/linuxuser/.local/var/pmbootstrap/cache_git/pmaports
- [11:26:39] Choose the postmarketOS release channel.
- [11:26:39] Available (2):
- [11:26:39] * edge: Rolling release channel
- [11:26:39] * stable: Stable release channel (first beta v20.05, does not have many devices yet)
- [11:26:39] Channel [edge]:
- [11:26:40] Choose your target device vendor (either an existing one, or a new one for porting).
- [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
- [11:26:40] Vendor [pine64]:
- [11:26:43] Available codenames (6): a64lts, dontbeevil, pinebookpro, pinephone, pinetab, rockpro64
- [11:26:43] Device codename [pinephone]:
- [11:26:45] This device has proprietary components, which trade some of your freedom with making more peripherals work.
- [11:26:45] We would like to offer full functionality without hurting your freedom, but this is currently not possible for your device.
- [11:26:45] device-pine64-pinephone-nonfree-firmware: Wifi and Bluetooth firmware
- [11:26:45] Enable this package? (y/n) [y]:
- [11:26:48] Username [linuxuser]: pinephone
- [11:26:52] Available user interfaces (12):
- [11:26:52] * none: No graphical environment
- [11:26:52] * fbkeyboard: Plain framebuffer console with touchscreen keyboard support
- [11:26:52] * gnome: (Wayland) Gnome Shell
- [11:26:52] * i3wm: (X11) Tiling WM (keyboard required)
- [11:26:52] * kodi: (Wayland) 10-foot UI useful on TV's
- [11:26:52] * mate: (X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)
- [11:26:52] * phosh: (Wayland) Mobile UI developed for the Librem 5 (works only with numeric passwords!)
- [11:26:52] * plasma-desktop: (X11/Wayland) KDE Desktop Environment (works well with tablets)
- [11:26:52] * plasma-mobile: (Wayland) Mobile variant of KDE Plasma (does not run without hardware acceleration, allows only numeric passwords!)
- [11:26:52] * shelli: Plain console with touchscreen gesture support
- [11:26:52] * sway: (Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)
- [11:26:52] * weston: (Wayland) Reference compositor (demo, not a phone interface)
- [11:26:52] * xfce4: (X11) Lightweight desktop (stylus recommended)
- [11:26:52] User interface [plasma-mobile]: phosh
- [11:27:00] Additional options: boot partition size: 128 MB, parallel jobs: 5, ccache per arch: 5G
- [11:27:00] Change them? (y/n) [n]:
- [11:27:04] Additional packages that will be installed to rootfs. Specify them in a comma separated list (e.g.: vim,file) or "none"
- [11:27:04] Extra packages [most,tree,curl,wget,unzip,jq,moreutils,htop,binutils]:
- [11:27:10] Your host timezone: America/Chicago
- [11:27:10] Use this timezone instead of GMT? (y/n) [y]:
- [11:27:12] Device hostname (short form, e.g. 'foo') [pine64-pinephone]:
- [11:27:15] Would you like to copy your SSH public keys to the device? (y/n) [y]:
- [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.
- [11:27:17] Build outdated packages during 'pmbootstrap install'? (y/n) [y]:
- [11:27:21] WARNING: The chroots and git repositories in the work dir do not get updated automatically.
- [11:27:21] Run 'pmbootstrap status' once a day before working with pmbootstrap to make sure that everything is up-to-date.
- [11:27:21] Done!
- pmbootstrap install --sdcard=/dev/sdb
- [11:40:31] *** (1/5) PREPARE NATIVE CHROOT ***
- [11:40:33] *** (2/5) CREATE DEVICE ROOTFS ("pine64-pinephone") ***
- [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>
- [11:40:35] (rootfs_pine64-pinephone) install
- [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>
- [11:40:39] (rootfs_pine64-pinephone) install
- [11:40:42] (rootfs_pine64-pinephone) write /etc/os-release
- [11:40:42] (rootfs_pine64-pinephone) install
- [11:40:45] (rootfs_pine64-pinephone) install
- [11:40:49] (rootfs_pine64-pinephone) mkinitfs postmarketos-allwinner
- [11:41:17] *** SET LOGIN PASSWORD FOR: 'pinephone' ***
- New password:
- Retype new password:
- passwd: password updated successfully
- [11:41:41] NOTE: No valid keymap specified for device
- [11:41:43] *** (3/5) PREPARE INSTALL BLOCKDEVICE ***
- [11:41:44] (native) mount /dev/install (host: /dev/sdb)
- [11:41:44] WARNING: This device has a previous installation of pmOS. CONTINUE? (y/n) [n]: y
- [11:41:47] (native) partition /dev/install (boot: 128M, reserved: 0M, root: the rest)
- [11:41:48] (native) format /dev/installp2
- [11:42:53] (native) mount /dev/installp2 to /mnt/install
- [11:42:53] (native) format /dev/installp1 (boot, ext2), mount to /mnt/install/boot
- [11:43:11] *** (4/5) FILL INSTALL BLOCKDEVICE ***
- [11:43:11] (native) copy rootfs_pine64-pinephone to /mnt/install/
- [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
- [11:49:04] *** (5/5) FLASHING TO DEVICE ***
- [11:49:04] Run the following to flash your installation to the target device:
- [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.
- [11:49:04] NOTE: chroot is still active (use 'pmbootstrap shutdown' as necessary)
- [11:49:04] Done
Add Comment
Please, Sign In to add comment