Created
March 31, 2025 18:17
-
-
Save gmankab/d24b1a1212fe9033dc087a03bd85eb49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://gitlab.postmarketos.org/postmarketOS/pmaports.git /tmp/pmaports | |
git clone https://gitlab.postmarketos.org/postmarketOS/pmbootstrap /tmp/pmbootstrap --depth 1 | |
git clone https://github.com/mainlining/linux --branch danila/spacewar-testing /tmp/linux --depth 1 | |
cd /tmp/pmaports | |
git remote add mainlining https://github.com/mainlining/pmaports | |
git fetch mainlining danila/spacewar-mr | |
git cherry-pick bc4c5a94adf4f515e4bb6c51e55a76b5d86cfe7b | |
echo ''' | |
[pmbootstrap] | |
aports = /tmp/pmaports | |
device = nothing-spacewar | |
ui = gnome-mobile | |
''' | tee ~/.config/pmbootstrap_v3.cfg | |
yes '' | python3 /tmp/pmbootstrap/pmbootstrap.py init | |
cd /tmp/linux | |
source /tmp/pmbootstrap/helpers/envkernel.sh | |
make defconfig sc7280.config | |
make -j$(nproc) | |
python3 /tmp/pmbootstrap/pmbootstrap.py -v build linux-postmarketos-qcom-sc7280 --force --envkernel | |
python3 /tmp/pmbootstrap/pmbootstrap.py install --password 147147 --filesystem btrfs | |
python3 /tmp/pmbootstrap/pmbootstrap.py flasher flash_rootfs --partition userdata | |
python3 /tmp/pmbootstrap/pmbootstrap.py flasher flash_kernel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment