shellsnippets/shellsnippets.git
7 days agoupdate from MirBSD CVS master
mirabilos [Thu, 26 Nov 2020 04:27:48 +0000 (05:27 +0100)]
update from MirBSD CVS

2 weeks agoadd a wrapper for the red tape around w --yesno, too, and checkers
mirabilos [Mon, 16 Nov 2020 02:13:55 +0000 (03:13 +0100)]
add a wrapper for the red tape around w --yesno, too, and checkers

2 weeks agoimplement partitioning swap
mirabilos [Mon, 16 Nov 2020 02:06:23 +0000 (03:06 +0100)]
implement partitioning swap

2 weeks agonever use a numeric s at all any more, always relative
mirabilos [Mon, 16 Nov 2020 01:37:06 +0000 (02:37 +0100)]
never use a numeric s at all any more, always relative

2 weeks agodefault to going to the next state
mirabilos [Mon, 16 Nov 2020 01:31:24 +0000 (02:31 +0100)]
default to going to the next state

2 weeks agoabstract the state machine away somewhat
mirabilos [Mon, 16 Nov 2020 01:29:42 +0000 (02:29 +0100)]
abstract the state machine away somewhat

2 weeks agostates end at 999 for simplicity
mirabilos [Mon, 16 Nov 2020 01:07:39 +0000 (02:07 +0100)]
states end at 999 for simplicity

2 weeks agorefactor so states can “finish” any time with a return
mirabilos [Mon, 16 Nov 2020 01:05:46 +0000 (02:05 +0100)]
refactor so states can “finish” any time with a return

2 weeks agofactor out
mirabilos [Sun, 15 Nov 2020 23:32:10 +0000 (00:32 +0100)]
factor out

2 weeks agouse model-unspecific partition names and boot by partition label
mirabilos [Sun, 15 Nov 2020 23:22:42 +0000 (00:22 +0100)]
use model-unspecific partition names and boot by partition label

2 weeks agoswitch to raspi-firmware, from buster-backports if needed
mirabilos [Sun, 15 Nov 2020 23:18:32 +0000 (00:18 +0100)]
switch to raspi-firmware, from buster-backports if needed

2 weeks agoalways re-run raspi firmware setup script, we shall patch more
mirabilos [Sun, 15 Nov 2020 23:13:47 +0000 (00:13 +0100)]
always re-run raspi firmware setup script, we shall patch more

2 weeks agoonly install WLAN firmware if WLAN selected (e.g. not for Model 2)
mirabilos [Sun, 15 Nov 2020 23:04:27 +0000 (00:04 +0100)]
only install WLAN firmware if WLAN selected (e.g. not for Model 2)

3 weeks agoallow reading text from stdin, too
mirabilos [Mon, 9 Nov 2020 00:04:30 +0000 (01:04 +0100)]
allow reading text from stdin, too

3 weeks agoallow infile, outfile and text to be passed as option instead
mirabilos [Sun, 8 Nov 2020 23:57:19 +0000 (00:57 +0100)]
allow infile, outfile and text to be passed as option instead

(and prefer it)

this allows users a more flexible command line layout, putting
constant things (like infile, outfile) near the beginning and
things they change until got it right (angle, fontsize) to the end

3 weeks agoa first version of the watermark script to seal persokopiën with
mirabilos [Sun, 8 Nov 2020 23:23:37 +0000 (00:23 +0100)]
a first version of the watermark script to seal persokopiën with

4 weeks agoupdate from MirBSD CVS
mirabilos [Fri, 30 Oct 2020 09:14:29 +0000 (10:14 +0100)]
update from MirBSD CVS

5 weeks agoupdate from MirBSD CVS, mostly for rcp -a
mirabilos [Thu, 29 Oct 2020 05:18:27 +0000 (06:18 +0100)]
update from MirBSD CVS, mostly for rcp -a

4 months agohttps
mirabilos [Sat, 18 Jul 2020 18:00:08 +0000 (20:00 +0200)]
https

5 months agoincrease space, kernels and especially initrds grow really big
mirabilos [Fri, 3 Jul 2020 16:37:24 +0000 (18:37 +0200)]
increase space, kernels and especially initrds grow really big

this prepares for a successful bullseye upgrade/install

5 months agoupdate from MirBSD CVS (new dot rules)
mirabilos [Sun, 21 Jun 2020 15:33:01 +0000 (17:33 +0200)]
update from MirBSD CVS (new dot rules)

5 months agoupdate SSV to use the correct field separator (ASCII unit separator)
mirabilos [Sun, 21 Jun 2020 15:31:54 +0000 (17:31 +0200)]
update SSV to use the correct field separator (ASCII unit separator)

also update test to check that the ASCII file(!) separator is valid data

5 months agooops, I mis-picked
mirabilos [Sat, 20 Jun 2020 20:06:37 +0000 (22:06 +0200)]
oops, I mis-picked

5 months agoadd an Emacs modeline
mirabilos [Tue, 9 Jun 2020 15:12:41 +0000 (17:12 +0200)]
add an Emacs modeline

Emacs modelines are “File variables”¹, and I believe most *-mode
on ² (with the “-mode” stripped) qualify, but see ³ and mind the
position in the file (first line, not second but shebang doesn’t
count)

① https://www.gnu.org/software/emacs/manual/html_node/emacs/Specifying-File-Variables.html#Specifying-File-Variables
② https://www.emacswiki.org/emacs/List_Of_Major_And_Minor_Modes#toc2
③ https://www.emacswiki.org/emacs/ProgrammingModes

6 months agokeyboard layout quick switcher
mirabilos [Tue, 2 Jun 2020 15:55:41 +0000 (17:55 +0200)]
keyboard layout quick switcher

6 months agowork around #961377 until a fix is in place
mirabilos [Sun, 31 May 2020 20:37:28 +0000 (22:37 +0200)]
work around #961377 until a fix is in place

6 months agoupdate from MirBSD CVS
mirabilos [Sun, 31 May 2020 20:33:49 +0000 (22:33 +0200)]
update from MirBSD CVS

6 months agoconvenience env unset
mirabilos [Sun, 17 May 2020 17:03:34 +0000 (19:03 +0200)]
convenience env unset

6 months agoadd support for CUSTOM chroots
mirabilos [Sun, 17 May 2020 17:03:11 +0000 (19:03 +0200)]
add support for CUSTOM chroots

6 months agoUpdate from MirBSD CVS
mirabilos [Tue, 12 May 2020 17:50:36 +0000 (19:50 +0200)]
Update from MirBSD CVS

7 months agofrom a v̲e̲r̲y̲ enlightening thread on lynx-dev…
mirabilos [Mon, 20 Apr 2020 19:49:10 +0000 (21:49 +0200)]
from a v̲e̲r̲y̲ enlightening thread on lynx-dev…

7 months ago
mirabilos [Thu, 16 Apr 2020 23:52:33 +0000 (01:52 +0200)]


brown paper bag, and all

7 months agofix two things:
mirabilos [Thu, 16 Apr 2020 23:48:44 +0000 (01:48 +0200)]
fix two things:

• the string written to the faux x86 MBR bootcode: it was identical
  in our case, but if the user changed it…
• nuke the other tmpfile as well

7 months agoRomain says the FAT partition must be bootable for EXTLINUX
mirabilos [Thu, 16 Apr 2020 22:33:02 +0000 (00:33 +0200)]
Romain says the FAT partition must be bootable for EXTLINUX

7 months agoUpdate from MirBSD CVS
mirabilos [Wed, 15 Apr 2020 01:48:22 +0000 (01:48 +0000)]
Update from MirBSD CVS

8 months agosimplification for the easiest case
mirabilos [Thu, 12 Mar 2020 23:45:19 +0000 (00:45 +0100)]
simplification for the easiest case

8 months agoadd documentation links
mirabilos [Thu, 12 Mar 2020 23:00:35 +0000 (00:00 +0100)]
add documentation links

8 months agowording
mirabilos [Thu, 12 Mar 2020 22:46:26 +0000 (23:46 +0100)]
wording

8 months agoRevert "temporarily re-enable BSD ssh for testing"
mirabilos [Thu, 12 Mar 2020 22:44:32 +0000 (23:44 +0100)]
Revert "temporarily re-enable BSD ssh for testing"

This reverts commit 00d81fc86ab3ea7494ce6eeff3b64b0c2bd16630.

8 months agogreatly simplify decision…
mirabilos [Thu, 12 Mar 2020 22:44:17 +0000 (23:44 +0100)]
greatly simplify decision…

8 months agocould it become even simpler?
mirabilos [Thu, 12 Mar 2020 22:35:01 +0000 (23:35 +0100)]
could it become even simpler?

8 months agodistinguish ARE
mirabilos [Thu, 12 Mar 2020 22:31:01 +0000 (23:31 +0100)]
distinguish ARE

8 months agoannotate results with all variants
mirabilos [Thu, 12 Mar 2020 22:07:36 +0000 (23:07 +0100)]
annotate results with all variants

8 months agoadd Tcl (for ARE as used in PostgreSQL)
mirabilos [Thu, 12 Mar 2020 21:59:09 +0000 (22:59 +0100)]
add Tcl (for ARE as used in PostgreSQL)

8 months agorefactor: keep unescaped replacement string, c.p.
mirabilos [Thu, 12 Mar 2020 21:57:10 +0000 (22:57 +0100)]
refactor: keep unescaped replacement string, c.p.

8 months agotemporarily re-enable BSD ssh for testing
mirabilos [Thu, 12 Mar 2020 21:36:50 +0000 (22:36 +0100)]
temporarily re-enable BSD ssh for testing

8 months ago“what regular expression am I running?”
mirabilos [Thu, 12 Mar 2020 21:36:25 +0000 (22:36 +0100)]
“what regular expression am I running?”

8 months agofinish the update checker
mirabilos [Thu, 5 Mar 2020 20:08:10 +0000 (21:08 +0100)]
finish the update checker

8 months agoupdate from MirBSD CVS
mirabilos [Thu, 5 Mar 2020 20:04:47 +0000 (21:04 +0100)]
update from MirBSD CVS

8 months agoupdate from MirBSD CVS and adjust accordingly
mirabilos [Thu, 5 Mar 2020 20:03:21 +0000 (21:03 +0100)]
update from MirBSD CVS and adjust accordingly

8 months agoslightly update but exclude, newer needs valsubs
mirabilos [Thu, 5 Mar 2020 19:37:01 +0000 (20:37 +0100)]
slightly update but exclude, newer needs valsubs

8 months agoupdate from MirBSD CVS
mirabilos [Thu, 5 Mar 2020 19:36:00 +0000 (20:36 +0100)]
update from MirBSD CVS

8 months agodo something with the VCS IDs here; also, highlighting unbreaker
mirabilos [Thu, 5 Mar 2020 19:31:14 +0000 (20:31 +0100)]
do something with the VCS IDs here; also, highlighting unbreaker

8 months agoupdate from MirBSD CVS
mirabilos [Thu, 5 Mar 2020 19:30:56 +0000 (20:30 +0100)]
update from MirBSD CVS

8 months agoinitial update checker
mirabilos [Thu, 5 Mar 2020 19:24:21 +0000 (20:24 +0100)]
initial update checker

8 months agoimprove docs
mirabilos [Thu, 5 Mar 2020 17:23:31 +0000 (18:23 +0100)]
improve docs

9 months agomake € on input line optional
mirabilos [Tue, 11 Feb 2020 19:21:11 +0000 (20:21 +0100)]
make € on input line optional

9 months agoUpdate from MirBSD CVS
mirabilos [Tue, 11 Feb 2020 19:20:51 +0000 (20:20 +0100)]
Update from MirBSD CVS

10 months agoUpdate (bugfix) from MirBSD CVS HEAD
mirabilos [Sun, 2 Feb 2020 03:53:08 +0000 (04:53 +0100)]
Update (bugfix) from MirBSD CVS HEAD

10 months agocomputers are there to compute numbers, do it!
mirabilos [Sat, 1 Feb 2020 00:45:32 +0000 (01:45 +0100)]
computers are there to compute numbers, do it!

10 months agoUpdate from MirBSD CVS
mirabilos [Thu, 23 Jan 2020 02:40:53 +0000 (03:40 +0100)]
Update from MirBSD CVS

11 months agofix the locale and show the current time and ISO/German calendar week
mirabilos [Fri, 20 Dec 2019 14:02:13 +0000 (15:02 +0100)]
fix the locale and show the current time and ISO/German calendar week

12 months agoa mirabilos-support support script
mirabilos [Wed, 4 Dec 2019 08:25:29 +0000 (09:25 +0100)]
a mirabilos-support support script

12 months agoMerge branch 'master' of git+ssh://evolvis.org/scmrepos/git/shellsnippets/shellsnippets
mirabilos [Sat, 23 Nov 2019 23:12:05 +0000 (00:12 +0100)]
Merge branch 'master' of git+ssh://evolvis.org/scmrepos/git/shellsnippets/shellsnippets

12 months agoupdate from MirBSD CVS
mirabilos [Sat, 23 Nov 2019 23:11:25 +0000 (23:11 +0000)]
update from MirBSD CVS

12 months agodo the new hip thing and add hosting service metadata (well some)
mirabilos [Thu, 14 Nov 2019 21:03:12 +0000 (22:03 +0100)]
do the new hip thing and add hosting service metadata (well some)

13 months agoadd status subcommand instead of running with set -x
mirabilos [Sat, 26 Oct 2019 15:25:35 +0000 (17:25 +0200)]
add status subcommand instead of running with set -x

(todo: tool for enabling/disabling individual CPUs)

13 months agounbreak dillo (cf. Debian #924357), easen links+ and lynx
mirabilos [Tue, 8 Oct 2019 08:59:03 +0000 (10:59 +0200)]
unbreak dillo (cf. Debian #924357), easen links+ and lynx

14 months agoor manually set up a swap partition
mirabilos [Wed, 2 Oct 2019 18:24:22 +0000 (20:24 +0200)]
or manually set up a swap partition

(perhaps this will be added to the script later, and ideally
before the root partition, as to facilitate growing both boot
(by moving/recreating swap) and root (towards end of medium))

14 months agodrop sparse_super2 (prevents resize2fs); document how to add swap
mirabilos [Wed, 2 Oct 2019 15:54:14 +0000 (17:54 +0200)]
drop sparse_super2 (prevents resize2fs); document how to add swap

14 months agofilter invalid/reserved TLDs (a beginning: Zeroconf)
mirabilos [Fri, 27 Sep 2019 12:45:30 +0000 (14:45 +0200)]
filter invalid/reserved TLDs (a beginning: Zeroconf)

14 months ago… that was a tad too verbose
mirabilos [Thu, 19 Sep 2019 23:11:27 +0000 (01:11 +0200)]
… that was a tad too verbose

14 months agoimprove instructions (whiptail, again, being unhelpful)
mirabilos [Thu, 19 Sep 2019 19:05:04 +0000 (21:05 +0200)]
improve instructions (whiptail, again, being unhelpful)

14 months agoquery about architecture interactively
mirabilos [Thu, 19 Sep 2019 17:24:09 +0000 (19:24 +0200)]
query about architecture interactively

14 months agowe can do 32 bit, too (armhf)
mirabilos [Thu, 19 Sep 2019 16:11:59 +0000 (18:11 +0200)]
we can do 32 bit, too (armhf)

14 months agothis is what update-locale does when you select an actual locale
mirabilos [Wed, 18 Sep 2019 16:10:46 +0000 (18:10 +0200)]
this is what update-locale does when you select an actual locale

14 months agolet “OVERWRITE ALL DATA?” prompt default to NO, as is custom
mirabilos [Wed, 18 Sep 2019 15:55:40 +0000 (17:55 +0200)]
let “OVERWRITE ALL DATA?” prompt default to NO, as is custom

14 months agomore portability to nōn-Debian hosts:
mirabilos [Wed, 18 Sep 2019 15:28:59 +0000 (17:28 +0200)]
more portability to nōn-Debian hosts:

use qemu-user-static binary from discovered location
(but still copy to fixed path inside the Debian chroot)

14 months agothis step is always needed on this board
mirabilos [Wed, 18 Sep 2019 14:47:37 +0000 (16:47 +0200)]
this step is always needed on this board

(even with systemd the X server needs root for drm device access)

14 months agodo normal-exit cleanup before user instructibles
mirabilos [Wed, 18 Sep 2019 14:46:06 +0000 (16:46 +0200)]
do normal-exit cleanup before user instructibles

14 months agoinstructions on installing from bpo (as it’s enabled anyway)
mirabilos [Wed, 18 Sep 2019 14:38:12 +0000 (16:38 +0200)]
instructions on installing from bpo (as it’s enabled anyway)

14 months agoapply bugfix from right now
mirabilos [Wed, 18 Sep 2019 01:57:25 +0000 (03:57 +0200)]
apply bugfix from right now

14 months agoupdate from mirabilos-support (57)
mirabilos [Wed, 18 Sep 2019 01:57:15 +0000 (03:57 +0200)]
update from mirabilos-support (57)

14 months agoprevent numeric user ID of host system leakage into etckeeper
mirabilos [Wed, 18 Sep 2019 01:43:27 +0000 (03:43 +0200)]
prevent numeric user ID of host system leakage into etckeeper

14 months agoease running on a nōn-Debian (but GNU/Linux) host:
mirabilos [Wed, 18 Sep 2019 01:09:10 +0000 (03:09 +0200)]
ease running on a nōn-Debian (but GNU/Linux) host:

search the utilities as builtins or in $PATH; modulo binfmt_misc
auto-registration for qemu-user-static, with a fake check for
binfmt-support, everything else should be movable thus

14 months agoset sensible locale default if the user just hit Enter
mirabilos [Wed, 18 Sep 2019 01:08:28 +0000 (03:08 +0200)]
set sensible locale default if the user just hit Enter

14 months agoreset the tty state in unwinding
mirabilos [Tue, 17 Sep 2019 23:47:22 +0000 (01:47 +0200)]
reset the tty state in unwinding

(e.g. if whiptail dies)

14 months agoinline only use of dieif(), I solved it differently everywhere else
mirabilos [Tue, 17 Sep 2019 23:44:19 +0000 (01:44 +0200)]
inline only use of dieif(), I solved it differently everywhere else

14 months agoadd tons more comments explaining what/why we do
mirabilos [Tue, 17 Sep 2019 23:41:22 +0000 (01:41 +0200)]
add tons more comments explaining what/why we do

also, install sudo with the earlier tools to make it clearer it is
absolutely required; the others like ifupdown/iproute2/net-tools
or procps are also but one can do without at first, but sudo is
needed for elevating to root right from the start

14 months agorecord bug numbers for some outstanding issues
mirabilos [Tue, 17 Sep 2019 22:53:48 +0000 (00:53 +0200)]
record bug numbers for some outstanding issues

14 months agostreamline so we need to chroot once only (plus once for debootstrap)
mirabilos [Tue, 17 Sep 2019 22:37:44 +0000 (00:37 +0200)]
streamline so we need to chroot once only (plus once for debootstrap)

14 months agoslightly improved wording
mirabilos [Tue, 17 Sep 2019 15:18:31 +0000 (17:18 +0200)]
slightly improved wording

14 months agoWIP → finished!
mirabilos [Tue, 17 Sep 2019 15:05:09 +0000 (17:05 +0200)]
WIP → finished!

• time
• network
• X11

14 months agomark as still WIP
mirabilos [Tue, 17 Sep 2019 01:22:56 +0000 (03:22 +0200)]
mark as still WIP

also, make sysvinit suck slightly less; part of this is upstreamed
in bullseye/sid already

14 months agoclean up a bit better to minimise sparse image size
mirabilos [Tue, 17 Sep 2019 01:06:23 +0000 (03:06 +0200)]
clean up a bit better to minimise sparse image size

(if installation to sparse image is chosen)

14 months agoadd anacron and missing Debian (OS) version to linuxlogo call
mirabilos [Tue, 17 Sep 2019 01:05:47 +0000 (03:05 +0200)]
add anacron and missing Debian (OS) version to linuxlogo call

14 months agoadd an apt autoremove to the finishing mix
mirabilos [Tue, 17 Sep 2019 00:09:51 +0000 (02:09 +0200)]
add an apt autoremove to the finishing mix

14 months agominimally shuffle setup steps
mirabilos [Mon, 16 Sep 2019 23:16:16 +0000 (01:16 +0200)]
minimally shuffle setup steps

14 months agoAdd Raspberry Pi 3B+ SD card / image creator to install Debian buster
mirabilos [Mon, 16 Sep 2019 23:01:24 +0000 (01:01 +0200)]
Add Raspberry Pi 3B+ SD card / image creator to install Debian buster

WIP, not yet tested on real hardware; does not rely on any pre-made
images, installs from scratch with debootstrap/chroot/binfmt_misc.

Developed for ⮡ tarent, with scripting suggestions by Sarah Stoffels.

15 months agobecause py3k nor js can output fixed floats with full precision
mirabilos [Fri, 23 Aug 2019 22:26:42 +0000 (00:26 +0200)]
because py3k nor js can output fixed floats with full precision