Commit graph

50 commits

Author SHA1 Message Date
Suikan
95d8c6f62c Add and adjust erro rhanding.
Add error handling afer dd.
Error message of pre-install is now conditional.
2021-07-04 21:54:29 +09:00
Suikan
717fe7687a Removed sed dependency
Issue  #6
Remove loglevel dependency from the void-kaiten-yaki.sh
2021-07-04 15:50:36 +09:00
Suikan
c291e77fd6 Removed unneccesarry update-grub 2021-07-03 13:15:08 +09:00
Suikan
9d3e1d137c Add restroration of /etac/default/tab 2021-07-03 12:46:42 +09:00
Suikan
1c707ff903 Add appropriate indent to the heredocument of chroot 2021-07-03 12:16:02 +09:00
Suikan
fd199999ac Correct missspelled command
retrun -> return
2021-07-03 12:04:14 +09:00
Suikan
7da5ec3647 Correct comment anf line 2021-07-03 10:07:20 +09:00
Suikan
7e68b3ea66 fixed problem of echo 2021-07-03 10:04:17 +09:00
Suikan
de0e689e27 Refactored
The para-install part is now local function
2021-07-03 10:02:38 +09:00
Suikan
2d2d200fef Refactored
Distribution check is now common function
2021-07-03 09:47:42 +09:00
Suikan
8ab8143838 Fixed GRUB modification of void installer.
Previously, it was adding inifinitly, if install executed repeatedly.

And refactored common functions.
2021-07-03 09:34:22 +09:00
Suikan
0779994278 Add shell check disable
To supress unnessary message in the post-install
2021-07-03 08:39:01 +09:00
Suikan
dc1e8ff720 Applied shellcheck 2021-07-03 08:17:36 +09:00
Suikan
b9e490e5f3 Add volume protection logic
In cae of the unexpected quit of GUI/TUI installer,
The target volume was deleted always.
Changed it to delete only when
2021-07-03 07:32:06 +09:00
Suikan
54f80d7f80 Refactoed common function
These common function is renamed with _common
explicitly.
2021-07-03 07:14:46 +09:00
Suikan
ccc7d009f6 Fixed bug of function call 2021-07-03 06:26:33 +09:00
Suikan
0e0af79234 Refactored structure
Post install part is gotten into a function.
Ubuntu dependent para-install is moved to main ubuntu-kaiten-yaki.sh
2021-07-03 06:12:01 +09:00
Suikan
9bde5fb9ab Correct comment
Ubuntu -> Void Linux
2021-07-03 05:43:42 +09:00
Suikan
ed8e08b9a7 Fix the void installer unexpected quit detection
The unneccesally space was the root caause.
2021-07-02 22:45:15 +09:00
Suikan
508f2f8130 xterm is not needed anymore. 2021-07-02 22:35:24 +09:00
Suikan
c5ccd06c3b Changed to support system void without GUI
Issue #1
Support non-GUI install for Void Linux.
2021-07-02 22:28:10 +09:00
Suikan
9242e402bd Change message style
From "add" to "adding"
2021-07-02 18:15:20 +09:00
Suikan
123f187cad Changed function directory from common to lib 2021-07-02 16:27:09 +09:00
Suikan
a28dbcaa74 Add "..." to Install process termination message 2021-07-02 08:49:25 +09:00
Suikan
4f54f0bdbd Make warning message stronger.
Add comment to the error return
2021-07-02 07:49:22 +09:00
Suikan
ce949a547a forget to add 2021-07-02 07:20:28 +09:00
Suikan
395ed2654d Fix the bug of INSTALLER_PID
It was previously variable. Changed it
 to env variable to refer from function
2021-07-01 22:38:49 +09:00
Suikan
a0100fecd2 Correct the problem of cryptdevice 2021-07-01 22:15:10 +09:00
Suikan
cb95b86ea7 souced style is not enfoced 2021-07-01 21:43:04 +09:00
Suikan
f1a43e9c54 Refactored.
All function body is indented.
kaiten-yaki-* has main function.
"sourced" style is not enforced.
2021-07-01 21:42:41 +09:00
Suikan
a5ecca9860 void installer is now without xterm 2021-07-01 21:27:12 +09:00
Suikan
88270a7fed fix the bug of the parainstall position 2021-07-01 21:11:16 +09:00
Suikan
d51c88949b Refactored 2021-07-01 20:57:24 +09:00
Suikan
3a5446c6ad Modify the message expose in para-install stage
Now, void doesn't show
2021-07-01 15:36:52 +09:00
Suikan
782cfedb67 Fixed message when it is not "sourced" 2021-07-01 15:22:30 +09:00
Suikan
0b392629c9 Refactor the structure of the source
Common part is moved to common dir
2021-07-01 15:10:12 +09:00
Suikan
ea49d6d082 Fix bug of the additional package install 2021-07-01 14:53:29 +09:00
Suikan
53c4426a98 Refactored code again 2021-07-01 14:46:59 +09:00
Suikan
488c998048 Refactor the structure of program
Now, common part of the script are unified
2021-07-01 14:39:22 +09:00
Suikan
1fd0557099 Refactored program 2021-07-01 12:18:06 +09:00
Suikan
04429da930 modiy xbps-install with -Su 2021-07-01 09:30:40 +09:00
Suikan
4fae6c75e1 Correct the "ubiquitty" in the void-installer 2021-07-01 08:33:10 +09:00
Suikan
5d8f8a4afa Correct the message 2021-07-01 08:26:43 +09:00
Suikan
16bec48bdb Update the para-install warning 2021-07-01 07:55:02 +09:00
Suikan
03299295a4 Added volume name sanity check 2021-07-01 07:33:42 +09:00
Suikan
cdb1b27439 add space for ease of read 2021-06-30 23:43:22 +09:00
Suikan
801c6ab340 fix degrading 2021-06-30 23:39:35 +09:00
Suikan
7dbf0aac52 correct "ubiquity" 2021-06-30 23:31:55 +09:00
Suikan
228f6824bf Fix the xbps-install bug 2021-06-30 23:23:27 +09:00
Suikan
4d0f926ee4 Added void unified script 2021-06-30 23:03:30 +09:00