mirror of
https://github.com/karl0ss/AnotterKiosk.git
synced 2025-07-22 08:45:00 +01:00
rename to N-AnotterKiosk
This commit is contained in:
parent
8b25aa87db
commit
751a3fed26
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -34,6 +34,6 @@ jobs:
|
|||||||
append_body: true
|
append_body: true
|
||||||
body_path: ./version-info
|
body_path: ./version-info
|
||||||
files: |
|
files: |
|
||||||
./anotterkiosk-*
|
./n-anotterkiosk-*
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -18,7 +18,7 @@ This project aims to solve a lot of those (at least for the author), it might al
|
|||||||
|
|
||||||
#### Key features
|
#### Key features
|
||||||
|
|
||||||
- [Images built via CI](https://github.com/Manawyrm/AnotterKiosk/blob/main/.github/workflows/main.yml)
|
- [Images built via CI](https://github.com/Manawyrm/N-AnotterKiosk/blob/main/.github/workflows/main.yml)
|
||||||
- WiFi connection support
|
- WiFi connection support
|
||||||
- Raspberry Pi (Arm64) compatibility
|
- Raspberry Pi (Arm64) compatibility
|
||||||
- PC (x86) compatibility
|
- PC (x86) compatibility
|
||||||
@ -49,13 +49,13 @@ This project aims to solve a lot of those (at least for the author), it might al
|
|||||||
|
|
||||||
### How-To Use
|
### How-To Use
|
||||||
|
|
||||||
Like any other Raspberry Pi image: download the current .img file from the [Releases](https://github.com/Manawyrm/AnotterKiosk/releases) page and flash it to a storage device of your choice.
|
Like any other Raspberry Pi image: download the current .img file from the [Releases](https://github.com/Manawyrm/N-AnotterKiosk/releases) page and flash it to a storage device of your choice.
|
||||||
SD cards, USB flash drives, USB SSDs, SATA SSDs, NVMe SSDs are all good options.
|
SD cards, USB flash drives, USB SSDs, SATA SSDs, NVMe SSDs are all good options.
|
||||||
You can use a tool like the [Raspberry Pi Imager](https://www.raspberrypi.com/software/), [BalenaEtcher](https://etcher.balena.io/), [Win32DiskImager](https://sourceforge.net/projects/win32diskimager/) or plain "dd" on \*nix-like systems.
|
You can use a tool like the [Raspberry Pi Imager](https://www.raspberrypi.com/software/), [BalenaEtcher](https://etcher.balena.io/), [Win32DiskImager](https://sourceforge.net/projects/win32diskimager/) or plain "dd" on \*nix-like systems.
|
||||||
When using the latter two, make sure to extract the .gz compression first (using a tool like 7zip).
|
When using the latter two, make sure to extract the .gz compression first (using a tool like 7zip).
|
||||||
|
|
||||||
After flashing, re-plug the storage device and open the FAT32 partition.
|
After flashing, re-plug the storage device and open the FAT32 partition.
|
||||||
Open the [`kioskbrowser.ini`](https://github.com/Manawyrm/AnotterKiosk/blob/main/kiosk_skeleton/boot/kioskbrowser.ini) file in a text editor and change everything to your needs.
|
Open the [`kioskbrowser.ini`](https://github.com/Manawyrm/N-AnotterKiosk/blob/main/kiosk_skeleton/boot/kioskbrowser.ini) file in a text editor and change everything to your needs.
|
||||||
More complex WiFi setups (like WPA2-Enterprise) can be configured by creating a wpa_supplicant.conf.
|
More complex WiFi setups (like WPA2-Enterprise) can be configured by creating a wpa_supplicant.conf.
|
||||||
Adding your own SSH keys can be done by creating a authorized_keys file.
|
Adding your own SSH keys can be done by creating a authorized_keys file.
|
||||||
If you want to use the autossh tunneling features, copy an SSH private key as either "id_rsa" or "id_ed25519".
|
If you want to use the autossh tunneling features, copy an SSH private key as either "id_rsa" or "id_ed25519".
|
||||||
|
@ -51,7 +51,7 @@ sed -i 's/vfat defaults/vfat ro,defaults/g' "${BUILD_DIR}/etc/fstab"
|
|||||||
sed -i 's/ext4 defaults/ext4 ro,defaults/g' "${BUILD_DIR}/etc/fstab"
|
sed -i 's/ext4 defaults/ext4 ro,defaults/g' "${BUILD_DIR}/etc/fstab"
|
||||||
|
|
||||||
# Include git repo version info
|
# Include git repo version info
|
||||||
echo -n "AnotterKiosk Raspberry Pi version: " > "${BUILD_DIR}/version-info"
|
echo -n "N-AnotterKiosk Raspberry Pi version: " > "${BUILD_DIR}/version-info"
|
||||||
git describe --abbrev=4 --dirty --always --tags >> "${BUILD_DIR}/version-info"
|
git describe --abbrev=4 --dirty --always --tags >> "${BUILD_DIR}/version-info"
|
||||||
|
|
||||||
# Mount system partitions (from the build host)
|
# Mount system partitions (from the build host)
|
||||||
@ -84,5 +84,5 @@ sudo umount "${BUILD_DIR}"
|
|||||||
sudo losetup -D /dev/loop0
|
sudo losetup -D /dev/loop0
|
||||||
|
|
||||||
tag=$(git describe --abbrev=4 --dirty --always --tags)
|
tag=$(git describe --abbrev=4 --dirty --always --tags)
|
||||||
mv raspikiosk.img anotterkiosk-${tag}-arm64-raspberrypi.img
|
mv raspikiosk.img n-anotterkiosk-${tag}-arm64-raspberrypi.img
|
||||||
pigz -4 anotterkiosk-${tag}-arm64-raspberrypi.img
|
pigz -4 n-anotterkiosk-${tag}-arm64-raspberrypi.img
|
@ -56,7 +56,7 @@ echo "UUID=${fat_uuid} /boot vfat rw,defaults 0 2"
|
|||||||
echo "UUID=${ext_uuid} / ext4 rw,defaults,noatime 0 1" | sudo tee -a "${BUILD_DIR}/etc/fstab"
|
echo "UUID=${ext_uuid} / ext4 rw,defaults,noatime 0 1" | sudo tee -a "${BUILD_DIR}/etc/fstab"
|
||||||
|
|
||||||
# Include git repo version info
|
# Include git repo version info
|
||||||
echo -n "AnotterKiosk x86 version: " > "${BUILD_DIR}/version-info"
|
echo -n "N-AnotterKiosk x86 version: " > "${BUILD_DIR}/version-info"
|
||||||
git describe --abbrev=4 --dirty --always --tags >> "${BUILD_DIR}/version-info"
|
git describe --abbrev=4 --dirty --always --tags >> "${BUILD_DIR}/version-info"
|
||||||
|
|
||||||
# Mount system partitions (from the build host)
|
# Mount system partitions (from the build host)
|
||||||
@ -86,5 +86,5 @@ sudo umount "${BUILD_DIR}"
|
|||||||
sudo losetup -D "${ld}"
|
sudo losetup -D "${ld}"
|
||||||
|
|
||||||
tag=$(git describe --abbrev=4 --dirty --always --tags)
|
tag=$(git describe --abbrev=4 --dirty --always --tags)
|
||||||
mv x86kiosk.img anotterkiosk-${tag}-x86.img
|
mv x86kiosk.img n-anotterkiosk-${tag}-x86.img
|
||||||
pigz -4 anotterkiosk-${tag}-x86.img
|
pigz -4 n-anotterkiosk-${tag}-x86.img
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"general": {
|
"general": {
|
||||||
"name": "AnotterKiosk"
|
"name": "N-AnotterKiosk"
|
||||||
},
|
},
|
||||||
"grabber": {
|
"grabber": {
|
||||||
"type": "framebuffer",
|
"type": "framebuffer",
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
AnotterKiosk \n \l
|
N-AnotterKiosk \n \l
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
Welcome to AnotterKiosk!
|
Welcome to N-AnotterKiosk!
|
||||||
Run "mount -o remount,rw /" to make the root filesystem writeable.
|
|
||||||
FAT32 / config partition is located in /boot.
|
FAT32 / config partition is located in /boot.
|
||||||
|
@ -1 +0,0 @@
|
|||||||
GRUB_DISTRIBUTOR="AnotterKiosk"
|
|
1
x86_skeleton/etc/default/grub.d/n-anotterkiosk.cfg
Normal file
1
x86_skeleton/etc/default/grub.d/n-anotterkiosk.cfg
Normal file
@ -0,0 +1 @@
|
|||||||
|
GRUB_DISTRIBUTOR="N-AnotterKiosk"
|
@ -13,7 +13,7 @@ apt install -y firmware-amd-graphics firmware-iwlwifi firmware-brcm80211 firmwar
|
|||||||
|
|
||||||
echo "grub-efi-amd64 grub2/force_efi_extra_removable boolean true" | debconf-set-selections
|
echo "grub-efi-amd64 grub2/force_efi_extra_removable boolean true" | debconf-set-selections
|
||||||
update-grub
|
update-grub
|
||||||
grub-install --target=x86_64-efi --efi-directory=/boot --removable --bootloader-id=AnotterKiosk
|
grub-install --target=x86_64-efi --efi-directory=/boot --removable --bootloader-id=N-AnotterKiosk
|
||||||
|
|
||||||
useradd -U -m -s /bin/bash -u 1000 -G audio,video,users,input,adm,dialout,plugdev,render pi
|
useradd -U -m -s /bin/bash -u 1000 -G audio,video,users,input,adm,dialout,plugdev,render pi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user