Skip to content

Releases: jaclu/AOK-Filesystem-Tools

v0.19

11 Jul 11:31
Compare
Choose a tag to compare
  • simplified dest selection for wall
  • better check if pigz is installed
  • reshuffle of motd tasks
  • added tools: aok_fs-save & aok_fs-replace
  • updated skel files
  • improved package selection for old releases
  • added uptime -l to just show sysload

v0.18

05 Jul 16:45
Compare
Choose a tag to compare
  • Default Alpine is now 3.20.1
  • Alpine 3.14 sudo (1.9.12_p2-r0) will be used for Alpine > 3.18
    This solves the insta-crash if the default sudo is used.
  • more version checks on what CORE_APKS to install
  • improved handling of incompatible packages
  • /usr/local/bin/check-env-compatible self corrects procps uptime
  • reworked uptime to show iOS uptime with option -i
  • simplified detection of non-interactive shells
  • simplified shell detection
  • updated Alpine releases
  • better handling of recovery-mode

v0.17

02 Jul 15:31
Compare
Choose a tag to compare
  • aok_launcher - console mode tails all log files, hit Ctrl-C to re-read
    in case something is added/removed, enable by doing aok -C on
  • added a warning when mixing default launcher and console mode
  • inittab will halt for upto 10s to wait for aok_launcher to prepare
    console and logfile tracking.
  • replacing of some bins with aok replacement also usable in updates
  • runbg notifies all sessions incl /dev/console of state change
  • better handling of chroot hostname
  • shutdown, halt & poweroff AOK replacements
  • halt will continue until it shuts the system down, starting nicely, eventually
    doing it brutally.
  • improved wall handling of /dev/console
  • made error_msg state file with the issue
  • aok_launcher: chk char-devs and stdio are fixed if need be
  • split up some huge functions into parts
  • added uptime to Boot notation

v0.16

23 Jun 11:15
Compare
Choose a tag to compare

task/do_chroot.sh mostly rewritten

  • Now able to run multiple chroots if given different mount points
  • Fully able to kill even still running chroots cleanly on both iSH and Linux
  • No longer uses a global pidfile

v0.15

22 Jun 13:24
104e961
Compare
Choose a tag to compare
  • Added feature PREBUILD_ADDITIONAL_TASKS to allow for custom tasks to be done during prebuild
  • aok-versions (run on login) displays iSH AOK-FS & Alpine/Debian release
  • Debian uptime doesnt work on iSH - fixed by a replacement uptime that always displays 0.00, 0.00, 0.00
  • Setup can run on chrooted iSH
  • Improved propagating errors to terminate the build
  • moved Debian/ish_replacement_bins -> FamDeb
  • preventing mistaken error detection if CUSTOM_FILES_TEMPLATE is undefined
  • aok_launcher - added network-check
  • Save prebuild time & add it (if applicable) when displaying total deploy time
  • Corrected build time to include compress step

v0.14

20 Feb 06:23
Compare
Choose a tag to compare

0.14

  • When Debian is installed on regular iSH, uptime needs to be replaced, since /proc/sysload is not available, original uptime is kept as /usr/bin/org-uptime
  • Added untar_file() to make sure pigz is always used for untaring (if available)
  • Ensures aok_imgs folder is created before generating compressed FS image
  • Added /usr/local/bin/aok-version - displaying AOK-FS, FS and iSH kernel releases
  • Expanded post deploy message in aok_launcher

0.11.5

  • Added pigz to Debian src image and Alpine packages (multithread tar/untar used when building images)
  • Debian src img with pigz

0.11.4

  • Changed sleep after aok_launcher vterm session 3s -> 1s
  • Debian src img latest updates: sudo
  • Some fixes for select_distro

0.11.3

  • New Launcher cmd 'aok_launcher'. This waits for runlevel default before progressing Allowing for things like clearing /run and updating motd during sysinit before initiating the first session. Will only wait for bootup on the 1st vterm. Before mounting a non AOK-FS, run aok -l default to ensure that a normal FS will boot properly.
  • a tool to configure most aspects of the AOK FS '/usr/local/bin/aok'
  • Removed custom logins, since all are now handled by aok_launcher, and configured via '/usr/local/bin/aok'
  • Updated skels (shell init files), added sys load and batt_lvl to bash & zsh
  • Deploy has been rewritten
  • Added usage of pigz for multithreaded tar/untar - greatly reducing deploy times!
  • New feature: logger
  • New tool in /usr/local/bin/network-check.sh - reports if world and DNS responds
  • /opt/AOK/tools/upgrade_aok_fs.sh - upgrades AOK-FS tools, with param configs, it will also update config files
  • as of 2024-02-06 sudo insta-crashes ish/ish-aok on Alpine 3.19 test: sudo ls

v0.11.5

12 Feb 11:18
Compare
Choose a tag to compare
  • Added pigz to Debian src image and Alpine packages (multithread tar/untar used when building images)
  • Debian src img with pigz

v0.11.4

11 Feb 21:45
Compare
Choose a tag to compare
  • Changed sleep after aok_launcher vterm session 3s -> 1s
  • Debian src img latest updates: sudo
  • Some fixes for select_distro

v0.11.3

07 Feb 11:58
Compare
Choose a tag to compare
  • New Launcher cmd 'aok_launcher'. This waits for runlevel default before progressing Allowing for things like clearing /run and updating motd during sysinit before initiating the first session. Will only wait for bootup on the 1st vterm. Before mounting a non AOK-FS, run aok -l default to ensure that a normal FS will boot properly.
  • a tool to configure most aspects of the AOK FS '/usr/local/bin/aok'
  • Removed custom logins, since all are now handled by aok_launcher, and configured via '/usr/local/bin/aok'
  • Updated skels (shell init files), added sys load and batt_lvl to bash & zsh
  • Deploy has been rewritten
  • Added usage of pigz for multithreaded tar/untar - greatly reducing deploy times!
  • New feature: logger
  • New tool in /usr/local/bin/network-check.sh - reports if world and DNS responds
  • /opt/AOK/tools/upgrade_aok_fs.sh - upgrades AOK-FS tools, with param configs, it will also update config files
  • as of 2024-02-06 sudo insta-crashes ish/ish-aok on Alpine 3.19 test: sudo ls

v0.11.0

16 Nov 23:59
Compare
Choose a tag to compare
  • alternate hostname handling for iOS >= 17 rewritten. Will be automatically enabled during deployment if iOS >= 17, can be manually enabled/disabled by running /usr/local/bin/aok -H
    Now has two modes:

    1. Static - set custom hostname in /etc/hosts
    2. Dynamic - Using a source file fed by an iOS Shortcut tied to the iSH App starting.
  • setup_final_tasks.sh ensures all config variables referencing file items are synced during the first boot on the destination device. Any FIRST_BOOT_ADDITIONAL_TASKS or other scripts referred to must do their own iCloud syncing if need be. iCloud is somewhat inconsistent when it comes to scripts not present on the local device. Sometimes it fails, and sometimes it is synced on an as-needed basis. In general, the only safe bet is to do a find . > /dev/null This will print out each file not cached as it is cached, and once completed the matching file/files can be assumed to be locally available.

  • wrap deploy script in outer scr to prevent errors from triggering instant reboot, instead dropping the process to a root shell. This makes it possible to actually see what went wrong.

  • New Debian src-img: Debian10-7-aok-1.tgz

  • new Alpine tool apk_find_pkg - give it bin-name returns apk providing bin

  • uses installed /etc/skel when creating accounts instead of copying from /opt/AOK

  • select_distro uses exit 123 for select_distro_prepare if chrooted

  • Changed /usr/local/bin/aok to use echo instead of msg_3 to make it not look like a deploy item

  • tools/upgrade_aok_fs.sh make root: own /etc/skel files

  • added version notice to select the distro

  • rsync_chown() -> tools/utils

  • tweaked skel files

  • ash & bash different prompts - helps you see what the current shell is

  • setup_final_tasks.sh now defines a full PATH including /usr/local/bin

  • Alpine/etc/profile - added the sbins to common PATH, which makes sense since in most cases, this is run by root