Commit Graph

20 Commits

Author SHA1 Message Date
Andreas Zweili 4d4f6ce3df Add missing variable 2024-01-29 13:54:43 +01:00
Andreas Zweili 1151291353 Warn and exit if scripts aren't run with sudo 2024-01-29 13:48:30 +01:00
Andreas Zweili 8fac0bf1a3 Create the initrd key during setup 2024-01-29 13:45:21 +01:00
Andreas Zweili c7253c13a0 Add function to unmount partitions 2024-01-15 18:53:18 +01:00
Andreas Zweili 7fb0fa6852 Remove wipefs 2024-01-15 18:36:20 +01:00
Andreas Zweili a348842ea5 Wipe the partitions as well 2024-01-15 18:33:11 +01:00
Andreas Zweili 8fb4e4282b Wipe the filesystem before doing any actions 2024-01-15 18:31:16 +01:00
Andreas Zweili c0a6a41649 Add set -e to various scripts 2024-01-15 13:25:22 +01:00
Andreas Zweili 62ad1f81c3 Replace tabs with spaces 2024-01-15 13:20:29 +01:00
Andreas Zweili caf52b8135 Fix bugs 2024-01-15 11:43:57 +01:00
Andreas Zweili 4d75d48ff6 Fix bugs 2024-01-15 11:36:43 +01:00
Andreas Zweili 2c82d38b5b Rewrite to functions 2024-01-15 11:35:38 +01:00
Andreas Zweili f25049d17e Replace the python script with two bash scripts
It's easier to work with and the setup often needs a little tweaking depending
on the device.
2024-01-15 11:17:44 +01:00
Andreas Zweili 10eddaab79 remove old scripts 2021-12-20 16:59:36 +01:00
Andreas Zweili 29fd4f00fb make and mount boot 2021-11-29 12:32:31 +01:00
Andreas Zweili 084515678e require all tasks to complete successfully 2021-11-29 12:22:44 +01:00
Andreas Zweili 47bbd4efc3 set executable flag 2021-11-29 12:14:01 +01:00
Andreas Zweili 0720750670 mount the disk after formating 2021-11-29 10:56:23 +01:00
Andreas Zweili fca148bbd8 ask the user for the swap size 2021-11-29 10:47:16 +01:00
Andreas Zweili e4f030bddb add a simplet script to format the drive 2021-11-29 10:45:16 +01:00