Commit graph

46 commits

Author SHA1 Message Date
tromcho
731242bfb2
Update common.sh 2023-02-21 14:01:52 +07:00
Suikan
73b3329cd7 Add "[Kaiten-Yaki]" to the message header 2022-05-11 07:16:08 +09:00
Suikan
555bf5a38e Refactor the closing sequence.
All closing sequence is gathered to the post-install().
2022-05-10 22:22:30 +09:00
Suikan
f725af8f44 Issue 38 : "Ready to reboot" message should be changed
https://github.com/suikan4github/kaiten-yaki/issues/38
2022-05-10 21:25:51 +09:00
Suikan
6722b160cb Clear passphrase information before exit. 2022-05-08 12:25:24 +09:00
Suikan
425181aff1 Fix the duplicate awk match.
Now, it exits the process when the first pattern is procesed.
2022-05-07 22:02:42 +09:00
Suikan
d322e8d5c5 Unquoted first parameter of lvcreate.
This is to use the IFS ( Internal Field Separator ). Without IFS
the string "-L 8G" will be wrapped by single quote like
'-L 8G', while we need -L 8G.
2022-05-07 21:35:29 +09:00
Suikan
f0f081ad34 Modify to accespt the absolute volume size. 2022-05-07 21:05:47 +09:00
Suikan
f6d43382fe Move lvremove.
To simplify, removing new voluves are gathered to deactivate_and remove.
2022-05-07 08:41:18 +09:00
Suikan
8cd947c912 fixed behavior of lvext
When overwrite installing, the lvext# were not created.

The detection of the error processing was
 refactored to use the global variable to see the newly created or not.
2022-05-06 08:44:16 +09:00
Suikan
a21470f594 Correct the display of the LVEXT1,2 2022-05-05 23:47:17 +09:00
Suikan
9ef15cc1f1 Add display of the additional volumes.
The user
2022-05-05 23:32:48 +09:00
Suikan
4699f87cc7 Add test script for development 2022-03-02 07:24:56 +09:00
Suikan
95820a63d7 Change > to >>
Item should be added to /etc/dracut.conf.d/10-crypt.conf ,
 rather than be overwritten

 Issue #29
2021-07-28 08:22:45 +09:00
Suikan
2a7d5ff125 Update comment
For keyfile registration to initfsram
2021-07-24 15:22:25 +09:00
Suikan
47bfcac6cc Refinet the configuration parameter display 2021-07-21 21:14:59 +09:00
Suikan
8bf48b9b0c Refine the parameter printing. 2021-07-18 21:53:48 +09:00
Suikan
36acfe505b Removed Y/N confirmation
Eliminates the confirmation dialog
 Issue #27
2021-07-18 21:11:26 +09:00
Suikan
d5e113259f Refactoring: Sourcing config.sys is not needed in the chrooted_job
#25
2021-07-17 15:05:43 +09:00
Suikan
3c7691db07 Fix the blank option problem. 2021-07-12 22:03:36 +09:00
Suikan
47b40316c0 btrfs support
Fail to install the ubuntu when the / volume is btrfs
 #24
2021-07-12 17:55:02 +09:00
Suikan
bde36aa1ea Refine the display message.
No change on the executable code.
2021-07-10 12:06:52 +09:00
Suikan
2ae4d6cd26 Add -l option ot unmount
to surpress the "busy" error
2021-07-08 23:09:02 +09:00
Suikan
c9b6941294 Revert "Fix the unmount fails"
This reverts commit e5417d78a3.
2021-07-08 22:48:19 +09:00
Suikan
e5417d78a3 Fix the unmount fails
Trial fix.
Change the --rbinds to --make-slave.

#17
2021-07-08 22:35:18 +09:00
Suikan
40264ce02f Refine the comment. 2021-07-08 21:19:16 +09:00
Suikan
be32e5e387 Update comment
No program change.
2021-07-08 07:47:23 +09:00
Suikan
7ec2046e5a Add ITERTIME parameter to the rooted_job()
ITERTIME parameter is not passed to the chrooted_job
Issue #15
2021-07-07 22:41:53 +09:00
Suikan
ae1a48f8f5 Add ITERTIME parameter
Add ITERTIME configuration parameter to config.txt
Issue #13
2021-07-07 13:33:10 +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
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
594dfedc24 Add shellcheck disable to suppress 2021-07-03 08:32:58 +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
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
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