Commit graph

183 commits

Author SHA1 Message Date
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
6bbab99bad Refactor canceling proces
Gather the common canceling process to one function
2021-07-03 09:03:45 +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
594dfedc24 Add shellcheck disable to suppress 2021-07-03 08:32:58 +09:00
Suikan
c089a8c701 Add #! to superss error message 2021-07-03 08:26:57 +09:00
Suikan
b7738a9fd8 change -eq 1 to -ne 0
To accept non-zero value
2021-07-03 08:19:00 +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
fb3720787c Fix file name bug 2021-07-03 07:17:18 +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
084df751fb Merge branch 'feature/1' into develop 2021-07-02 23:42:43 +09:00
Suikan
a863ae6ad3 Add void-linux "base" support
Removed limitation description.
Added tested iso.
2021-07-02 23:42:35 +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
f980cf3d89 Change the "Yet another ... " to lower case 2021-07-02 22:08:34 +09:00
Suikan
2fe693aa72 Revise the install.md 2021-07-02 22:01:15 +09:00
Suikan
87b1d3846d Add overwrite installation document 2021-07-02 18:40:39 +09:00
Suikan
35b6d91058 Correct punctuation 2021-07-02 18:29:04 +09:00
Suikan
9242e402bd Change message style
From "add" to "adding"
2021-07-02 18:15:20 +09:00
Suikan
57ccc0894c Fix the misspell of VARIABLE 2021-07-02 16:58:46 +09:00
Suikan
d18f152aa3 Fix the consistency check error
That didn't terminate even error was detected.
2021-07-02 16:30:10 +09:00
Suikan
123f187cad Changed function directory from common to lib 2021-07-02 16:27:09 +09:00
Suikan
791ffa6112 Added overwrite install 2021-07-02 14:20:16 +09:00
Suikan
5cbe95252c Add volume closing process
on unexpected finijsh of GUI/TUI installer.
2021-07-02 13:56:48 +09:00
Suikan
7ebd7fc535 Add volume closing on duplicate LV name. 2021-07-02 13:51:53 +09:00
Suikan
3387dc940d Left GUI detection code.
Just as interesting code.
2021-07-02 13:35:22 +09:00
Suikan
a28dbcaa74 Add "..." to Install process termination message 2021-07-02 08:49:25 +09:00
Suikan
f92329b782 Add removing lv function
at the termination of installer
2021-07-02 08:42:19 +09:00
Suikan
4c325c4491 Activate all logical volumes when LV already exsit
This allow update-grub search other
distributions in other volume
2021-07-02 08:34:41 +09:00
Suikan
97e944a7ea Charnge reboot warning message 2021-07-02 08:28:49 +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
a3026f1ced Give up the TUI base install.
xterm is essential now.
2021-07-02 07:20:11 +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
8b2f1542f5 Warning of "-" validation is corrected. 2021-07-01 21:45:54 +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