Refactoring: Sourcing config.sys is not needed in the chrooted_job

#25
This commit is contained in:
Suikan 2021-07-17 15:05:43 +09:00
parent e1e67af67c
commit d5e113259f
3 changed files with 1 additions and 8 deletions

View file

@ -4,6 +4,7 @@ Record of the modification in project development.
## [Unreleased] - yyyy-mm-dd ## [Unreleased] - yyyy-mm-dd
### Added ### Added
### Changed ### Changed
- [Issue 25 : Refactoring: Sourcing config.sys is not needed in the chrooted_job](https://github.com/suikan4github/kaiten-yaki/issues/25)
- [Issue 26 : Update AN01 for btrfs](https://github.com/suikan4github/kaiten-yaki/issues/26) - [Issue 26 : Update AN01 for btrfs](https://github.com/suikan4github/kaiten-yaki/issues/26)
### Deprecated ### Deprecated

View file

@ -1,9 +1,5 @@
#!/bin/bash #!/bin/bash
# Include configuration. This sript file have to be executed at Kaiten-yaki/script dir
# shellcheck disable=SC1091
source config.sh
# Create a key file for LUKS and register it as contents of the initramfs image # Create a key file for LUKS and register it as contents of the initramfs image
function chrooted_job() { function chrooted_job() {
# Mount the rest of partitions by target /etc/fstab # Mount the rest of partitions by target /etc/fstab

View file

@ -1,9 +1,5 @@
#!/bin/bash #!/bin/bash
# Include configuration. This sript file have to be executed at Kaiten-yaki/script dir
# shellcheck disable=SC1091
source config.sh
# Create a key file for LUKS and register it as contents of the initramfs image # Create a key file for LUKS and register it as contents of the initramfs image
function chrooted_job() { function chrooted_job() {
# Mount the rest of partitions by target /etc/fstab # Mount the rest of partitions by target /etc/fstab