No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-02-08 22:27:22 -05:00
.github/workflows Update GitHub Actions 2025-02-08 16:21:20 -05:00
files Stop disabling main Fedora repo 2025-02-04 23:35:17 -05:00
phone-scripts It hasn't failed for me 2025-02-08 19:33:14 -05:00
uboot Updating latest uboot 2021-10-16 12:26:35 -05:00
.env Streamline image downloading 2025-02-08 16:21:11 -05:00
00-create-empty-image.sh Whitespace changes 2025-01-16 21:32:01 -05:00
00-selftest.sh No longer need mkimage 2025-02-04 21:54:10 -05:00
01-partition-drive.sh Use partx instead of partprobe 2025-02-04 22:39:22 -05:00
02-install-rootfs.sh Make script Ubuntu-compatible 2025-02-08 22:27:22 -05:00
03-install-kernel.sh Well, it's tested now 2025-02-08 19:33:14 -05:00
04-edit-fstab.sh Stop disabling main Fedora repo 2025-02-04 23:35:17 -05:00
05-setup-user.sh Well, it's tested now 2025-02-08 19:33:14 -05:00
all.sh Fix echo typo 2021-11-25 08:02:13 +01:00
cleanup.sh Extend cleanup (losetup still doesn't run sometimes) 2025-02-04 22:41:10 -05:00
COPYING free software 2020-03-29 20:19:09 -07:00
debug-mount.sh chmod 2020-02-18 17:17:54 -08:00
debug-unmount.sh chmod 2020-02-18 17:17:54 -08:00
download-files.sh Streamline image downloading 2025-02-08 16:21:11 -05:00
README.md No longer need mkimage 2025-02-04 21:54:10 -05:00

PinePhone Fedora Setup

A collection of scripts that correctly sets up Fedora to run off your PinePhone SD card. Soon to be part of the Fedora Mobility SIG.

🚨🚨🚨 WARNING! 🚨🚨🚨

This is a barely tested collection of scripts written by someone who has never written a bash script for other people to use! It involves the dd command and sudo. This is VERY DANGEROUS - please do not run it unless you have read and fully understood what it will do. Better yet, read the scripts to learn how to install the image manually.

For prebuilt images, see the releases page. All images after Nov 2020 were built by @Torbuntu.

Dependencies

  • wget
  • xz
  • btrfs-progs (for mkfs.btrfs)
  • dosfstools (for mkfs.vfat)
  • rsync
  • qemu-user-static (for qemu-aarch64-static)

Usage

  1. Edit .env with your own variables.
  2. Run bash download-files.sh then sudo bash all.sh. Verify the information presented whenever it asks you to confirm.

Tips

  • Run all scripts other than download-files.sh as root, and from this (README.md) directory! Do not directly run anything in the phone-scripts folder! Those scripts are, as the name suggests, executed on the phone.
  • If a script fails midway through, some things may still be mounted. sudo ./cleanup.sh will attempt to unmount everything.