Installer default to stable branch.
To make the installer use a different branch apply the following patch and run
sudo bash manjaro-arm-installer arm-unstable
It is assumeed the argument is a valid arm branch.
diff --git a/manjaro-arm-installer b/manjaro-arm-installer
index aea7b19..603320c 100755
--- a/manjaro-arm-installer
+++ b/manjaro-arm-installer
@@ -17,6 +17,10 @@ else
export DIALOGRC="/etc/manjaro-arm-installer/dialogrc_gui"
fi
+BRANCH="arm-stable"
+if [[ -n $1 ]]; then
+ BRANCH=$1
+fi
# clearing variables
DEVICE=""
EDITION=""
@@ -140,6 +144,8 @@ create_install() {
$NSPAWN $TMPDIR/root pacman-key --init 1> /dev/null 2>&1
$NSPAWN $TMPDIR/root pacman-key --populate archlinuxarm manjaro manjaro-arm 1> /dev/null 2>&1
+ info "Setting target branch ${BRANCH}..."
+ sed -i 's|^Branch.*|Branch = '${BRANCH}'|' $TMPDIR/root/etc/pacman-mirrors.conf
info "Generating mirrorlist..."
$NSPAWN $TMPDIR/root pacman-mirrors -f10 1> /dev/null 2>&1
Ray Sherwin (42a02a81) at 12 Nov 12:56
Update for pi5
Installer default to stable branch.
To make the installer use a different branch apply the following patch and run
sudo bash manjaro-arm-installer arm-unstable
It is assumeed the argument is a valid arm branch.
diff --git a/manjaro-arm-installer b/manjaro-arm-installer
index aea7b19..603320c 100755
--- a/manjaro-arm-installer
+++ b/manjaro-arm-installer
@@ -17,6 +17,10 @@ else
export DIALOGRC="/etc/manjaro-arm-installer/dialogrc_gui"
fi
+BRANCH="arm-stable"
+if [[ -n $1 ]]; then
+ BRANCH=$1
+fi
# clearing variables
DEVICE=""
EDITION=""
@@ -140,6 +144,8 @@ create_install() {
$NSPAWN $TMPDIR/root pacman-key --init 1> /dev/null 2>&1
$NSPAWN $TMPDIR/root pacman-key --populate archlinuxarm manjaro manjaro-arm 1> /dev/null 2>&1
+ info "Setting target branch ${BRANCH}..."
+ sed -i 's|^Branch.*|Branch = '${BRANCH}'|' $TMPDIR/root/etc/pacman-mirrors.conf
info "Generating mirrorlist..."
$NSPAWN $TMPDIR/root pacman-mirrors -f10 1> /dev/null 2>&1
Sorry I'm not a Manjaro developer and can't fork the repo here, so I forked at https://gitlab.com/cJ/manjaro-arm-installer
In there, I added support for installing from distros which have configured binfmt_misc differently than Manjaro does. Since I was doing some repetitive testing I also added support to bypass the dialog interaction.
Example usage:
sudo \
MANJARO_ARM_INSTALLER_KEEP_VARIABLES=1 \
DEVICE=pinephone \
EDITION=plasma-mobile \
USER=cj \
FULLNAME=cJ \
PASSWORD=secret CONFIRMPASSWORD=secret \
ROOTPASSWORD=secreter CONFIRMROOTPASSWORD=secreter \
TIMEZONE=America/Montreal \
SDCARD=mmcblk0 \
FSTYPE=f2fs \
LOCALE=C.utf-8 \
CLIKEYMAP=us \
X11KEYMAP=us \
HOSTNAME=pinecone \
./manjaro-arm-installer
Thanks,
You may ask the same question on the forum.
I’m sorry, what should I even ask? I have no way of knowing what is wrong, is it a problem with the code or my board, is there any way of figuring out what is wrong??
I’m using the minimal version on a roc-rk3328-cc, and it turns on, but all I get is a blank monitor, no command line, no nothing. Does anyone know why this is happening?
Can't reproduce on my PineBook Pro. Please create a thread on our support forum for assistance.
I’m using the minimal version on a roc-rk3328-cc, and it turns on, but all I get is a blank monitor, no command line, no nothing. Does anyone know why this is happening?
I see in this issue that encryption should be enabled: #23 But when I run the script (sudo bash manjaro-arm-installer) there is no option to encrypt. I run the script for the Devterm and choose EXT4.
My version: 1.4.11-1 and I read that encryption is added in 1.4.0 so what am I missing here?
I found it for ARM here. thanks for the help.
https://archlinuxarm.org/packages/armv7h/qemu-user-static-binfmt
manjaro-arm-installer has a list of Dependencies
binfmt-qemu-static
is not available. tried but could not find this name package.
sudo pacman -S binfmt-qemu-static
This is the exact package listed as needed for use of the Manjaro-arm-installer
Also tried to search for any package with name qemu-static
sudo pacman -Ss qemu-static
and it could not be found.
I suspect this may relate to full disk encryption, as everything else was standard.
After first install (August 12), I noticed that boot would appear on the desktop, but thought nothing of it.
After upgrading the kernel (days later), everything went wrong, no wifi, sound, etc.
Found this post: https://forum.manjaro.org/t/wifi-no-longer-works/117162
After updating fstab and copying across the boot directory files to the boot partition, everything was back as it should be. EXCEPT the FDE password is now querty instead of colemak (not sure how to fix that).
Anyway, I thought I better report it. Thanks.
error: target not found: gnome-console
-> Enabling services...
sshd.service not found in rootfs. Skipping.
NetworkManager.service not found in rootfs. Skipping.
ModemManager.service not found in rootfs. Skipping.
phosh.service not found in rootfs. Skipping.
bluetooth.service not found in rootfs. Skipping.
zswap-arm.service not found in rootfs. Skipping.
bootsplash-hide-when-booted.service not found in rootfs. Skipping.
bootsplash-show-on-shutdown.service not found in rootfs. Skipping.
systemd-oomd.service not found in rootfs. Skipping.
eg25-manager.service not found in rootfs. Skipping.
pinephone-post-install.service not found in rootfs. Skipping.
pinephonepro-post-install.service not found in rootfs. Skipping.
pinephone-modem-scripts.pinephone-modem-setup.service not found in rootfs. Skipping.
siglo.service not found in rootfs. Skipping.
-> Applying overlay for phosh... -> Setting up users... -> Setting password for root ... execv(userdel) failed: No such file or directory
-> Adding user... -> Enabling user services... -> Setting up system settings... execv(timedatectl) failed: No such file or directory
Generating locales...
Generation complete.
/usr/bin/manjaro-arm-installer: Zeile 205: /var/tmp/manjaro-arm-installer/root/etc/X11/xorg.conf.d/00-keyboard.conf: Datei oder Verzeichnis nicht gefunden
/usr/bin/manjaro-arm-installer: Zeile 206: /var/tmp/manjaro-arm-installer/root/etc/X11/xorg.conf.d/00-keyboard.conf: Datei oder Verzeichnis nicht gefunden
/usr/bin/manjaro-arm-installer: Zeile 207: /var/tmp/manjaro-arm-installer/root/etc/X11/xorg.conf.d/00-keyboard.conf: Datei oder Verzeichnis nicht gefunden
/usr/bin/manjaro-arm-installer: Zeile 208: /var/tmp/manjaro-arm-installer/root/etc/X11/xorg.conf.d/00-keyboard.conf: Datei oder Verzeichnis nicht gefunden
sed: /var/tmp/manjaro-arm-installer/root/etc/X11/xorg.conf.d/00-keyboard.conf kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden
sed: /var/tmp/manjaro-arm-installer/root/usr/lib/systemd/system-preset/90-systemd.preset kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden
Correcting permissions from overlay...
-> Adding btrfs support to system...
sed: /var/tmp/manjaro-arm-installer/root/etc/mkinitcpio.conf kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden
-> Cleaning install for unwanted files...
==> pinephone phosh install complete
==> Writing bootloader and cleaning up after install...
mv: der Aufruf von stat für '/var/tmp/manjaro-arm-installer/root/boot/*' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
Currently, if I understand correctly, manjaro-arm-installer allows installing only to original PinePhone. Is it possible to add PinePhone Pro support?
Everything appears to work!
Boot from an SD card (manjaro image), install to eMMC - works correctly
Boot from eMMC, install to an SD card - works correctly
Thanks!
Yes that's true, but for some people (e.g. me :) ) it's not a huge problem (hopefully an update will come later though). I can test a version of a script for SD/eMMC if that can help
Currently, if I understand correctly, manjaro-arm-installer allows installing only to original PinePhone. Is it possible to add PinePhone Pro support?