From d5e113259fcd9e3732f8d6359e7571db661954d1 Mon Sep 17 00:00:00 2001 From: Suikan <26223147+suikan4github@users.noreply.github.com> Date: Sat, 17 Jul 2021 15:05:43 +0900 Subject: [PATCH] Refactoring: Sourcing config.sys is not needed in the chrooted_job #25 --- CHANGELOG.md | 1 + script/lib/chrooted_job_ubuntu.sh | 4 ---- script/lib/chrooted_job_void.sh | 4 ---- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9282be0..fe0908a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Record of the modification in project development. ## [Unreleased] - yyyy-mm-dd ### Added ### 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) ### Deprecated diff --git a/script/lib/chrooted_job_ubuntu.sh b/script/lib/chrooted_job_ubuntu.sh index 2d953ca..6d8cd57 100644 --- a/script/lib/chrooted_job_ubuntu.sh +++ b/script/lib/chrooted_job_ubuntu.sh @@ -1,9 +1,5 @@ #!/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 function chrooted_job() { # Mount the rest of partitions by target /etc/fstab diff --git a/script/lib/chrooted_job_void.sh b/script/lib/chrooted_job_void.sh index 2d50a73..9ce0c82 100644 --- a/script/lib/chrooted_job_void.sh +++ b/script/lib/chrooted_job_void.sh @@ -1,9 +1,5 @@ #!/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 function chrooted_job() { # Mount the rest of partitions by target /etc/fstab