Add Store support and unsigned app releases
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# SmartFox installer: writes the SmartFox disk image from the install stick
|
||||
# Fennec OS installer: writes the Fennec OS disk image from the install stick
|
||||
# onto an internal disk. The disk is wiped completely.
|
||||
#
|
||||
# The stick (written by Rufus in ISO mode, or dd) carries:
|
||||
@@ -19,7 +19,7 @@ say() { printf '%s\n' "$*"; }
|
||||
banner() {
|
||||
clear
|
||||
say ""
|
||||
say " SmartFox telepítő"
|
||||
say " Fennec OS telepítő"
|
||||
say " ================="
|
||||
say ""
|
||||
}
|
||||
@@ -101,7 +101,7 @@ banner
|
||||
[ -n "$VERSION" ] && say " Verzió: $VERSION" && say ""
|
||||
[ "${#DISKS[@]}" -gt 0 ] || die "Nincs olyan belső lemez, amire telepíteni lehetne (legalább $(human $((NEED + 1024 * 1024 * 1024))) kell)."
|
||||
|
||||
say " Melyik lemezre telepítsem a SmartFoxot?"
|
||||
say " Melyik lemezre telepítsem a Fennec OS-t?"
|
||||
say ""
|
||||
for i in "${!DISKS[@]}"; do
|
||||
say " $((i + 1))) $(describe "${DISKS[$i]}")"
|
||||
@@ -161,14 +161,14 @@ fi
|
||||
# Boot entry, so firmware that ignores the fallback path still finds it.
|
||||
ESP=$(lsblk -rpno NAME,PARTN "$TARGET" | awk '$2 == 1 { print $1 }')
|
||||
if [ -d /sys/firmware/efi/efivars ] && [ -n "$ESP" ]; then
|
||||
efibootmgr -q -c -d "$TARGET" -p 1 -L SmartFox -l '\EFI\systemd\systemd-bootx64.efi' 2>/dev/null ||
|
||||
efibootmgr -q -c -d "$TARGET" -p 1 -L "Fennec OS" -l '\EFI\systemd\systemd-bootx64.efi' 2>/dev/null ||
|
||||
say " (A UEFI boot bejegyzés nem jött létre, a gép a tartalék útvonalról indul.)"
|
||||
fi
|
||||
sync
|
||||
umount "$SRC" 2>/dev/null
|
||||
|
||||
banner
|
||||
say " Kész! A SmartFox telepítve: $TARGET"
|
||||
say " Kész! A Fennec OS telepítve: $TARGET"
|
||||
say ""
|
||||
say " Húzd ki a pendrive-ot, majd nyomj Entert az újraindításhoz."
|
||||
say " Az első indításkor a rendszer létrehozza az adatpartíciót, ez néhány másodperc."
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=SmartFox installer
|
||||
Description=Fennec OS installer
|
||||
After=systemd-udevd.service systemd-udev-trigger.service
|
||||
Conflicts=getty@tty1.service
|
||||
|
||||
|
||||
Reference in New Issue
Block a user