|
|
ab92d3 |
From 0ebfdeafe3d2b023bd52704c6f7a8a2082379da5 Mon Sep 17 00:00:00 2001
|
|
|
ab92d3 |
From: Harald Hoyer <harald@redhat.com>
|
|
|
ab92d3 |
Date: Fri, 12 Feb 2021 13:26:14 +0100
|
|
|
ab92d3 |
Subject: [PATCH] fix: shellcheck for modules.d/99squash/module-setup.sh
|
|
|
ab92d3 |
|
|
|
ab92d3 |
(cherry picked from commit 6510ab3f9d6ce555435cf57b716702b5b7663772)
|
|
|
ab92d3 |
|
|
|
ab92d3 |
Resolves: #1959336
|
|
|
ab92d3 |
---
|
|
|
ab92d3 |
modules.d/99squash/module-setup.sh | 6 +++---
|
|
|
ab92d3 |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
ab92d3 |
|
|
|
ab92d3 |
diff --git a/modules.d/99squash/module-setup.sh b/modules.d/99squash/module-setup.sh
|
|
|
ab92d3 |
index b183daf7..5b2435cc 100644
|
|
|
ab92d3 |
--- a/modules.d/99squash/module-setup.sh
|
|
|
ab92d3 |
+++ b/modules.d/99squash/module-setup.sh
|
|
|
ab92d3 |
@@ -32,9 +32,9 @@ installkernel() {
|
|
|
ab92d3 |
|
|
|
ab92d3 |
install() {
|
|
|
ab92d3 |
inst_multiple kmod modprobe mount mkdir ln echo
|
|
|
ab92d3 |
- inst $moddir/setup-squash.sh /squash/setup-squash.sh
|
|
|
ab92d3 |
- inst $moddir/clear-squash.sh /squash/clear-squash.sh
|
|
|
ab92d3 |
- inst $moddir/init.sh /squash/init.sh
|
|
|
ab92d3 |
+ inst "$moddir"/setup-squash.sh /squash/setup-squash.sh
|
|
|
ab92d3 |
+ inst "$moddir"/clear-squash.sh /squash/clear-squash.sh
|
|
|
ab92d3 |
+ inst "$moddir"/init.sh /squash/init.sh
|
|
|
ab92d3 |
|
|
|
ab92d3 |
inst "$moddir/squash-mnt-clear.service" "$systemdsystemunitdir/squash-mnt-clear.service"
|
|
|
ab92d3 |
systemctl -q --root "$initdir" add-wants initrd-switch-root.target squash-mnt-clear.service
|
|
|
ab92d3 |
|