Commit graph

88 commits

Author SHA1 Message Date
Suikan
f2d4c8fee3 change ERASEALL=0 as default
Issue #12
2021-07-07 13:08:55 +09:00
Suikan
fd8e8f0af1 Fix the mistake of the copy pattern
Now, even directiries are copied
2021-07-06 08:22:16 +09:00
Suikan
d0200d88d8 Fix the name of funciton 2021-07-06 08:06:15 +09:00
Suikan
7b91fbd9f4 Additional changes 2021-07-06 07:41:56 +09:00
Suikan
3ce805c5ca Make chroot'ed job independent script file
Issue #11
2021-07-06 07:41:34 +09:00
Suikan
e3e3599561 Add error handling on lvcreate root 2021-07-04 22:00:55 +09:00
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
6810e4414a Added error handling
Add the return status validation
Issue #7
2021-07-04 21:41:49 +09:00
Suikan
fb47c71a02 Cancelation message corrected.
Wrong message after cancallation
Issue : #8
2021-07-04 16:28:19 +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
91db393dd2 Add double quote for ease-of-read 2021-07-04 15:18:14 +09:00
Suikan
c504de3d9b Fix unbalance if - fi 2021-07-04 15:15:06 +09:00
Suikan
1ca9e3465f Overwrite install is implemented
Issue #5
OVERWRITEINSTALL confirmation is missing
2021-07-04 15:08:59 +09:00
Suikan
c291e77fd6 Removed unneccesarry update-grub 2021-07-03 13:15:08 +09:00
Suikan
6feba5dafc Fix command name
vgcscan->lvscan
2021-07-03 13:03:44 +09:00
Suikan
9d3e1d137c Add restroration of /etac/default/tab 2021-07-03 12:46:42 +09:00
Suikan
062253981d Add vgscan after opening existing LUKS vokume
For the confirmation for the operator.
2021-07-03 12:35:56 +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
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
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
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