File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 33. /.initrd/initenv
44
55. shell-locks
6+ . shell-source
7+
8+ FSCK_ARGS=" -p"
9+ source_if_exists /etc/sysconfig/fsck
610
711. /etc/init.d/functions
812. uevent-sh-functions
@@ -26,7 +30,7 @@ handler()
2630
2731 rootdelay_pause
2832
29- action " Checking filesystem [$MOUNTDEV ]:" fsck -t noloop,noswap -T " $MOUNTDEV " -- -p ||
33+ action " Checking filesystem [$MOUNTDEV ]:" fsck -t noloop,noswap -T " $MOUNTDEV " -- $FSCK_ARGS ||
3034 rc=$?
3135
3236 if [ " $rc " = 0 ] || [ " $rc " = 1 ]; then
Original file line number Diff line number Diff line change @@ -3,3 +3,12 @@ FSCK_RUNTIME_FILES := $(shell $(call shell-export-vars) $(FEATURESDIR)/fsck/bin/
33
44PUT_FEATURE_DIRS += $(FSCK_DATADIR )
55PUT_FEATURE_FILES += $(FSCK_FILES ) $(FSCK_RUNTIME_FILES )
6+
7+ VENDOR =
8+ ifneq "$(wildcard /etc/os-release) " ""
9+ VENDOR = $(shell sed -n -e 's/^ID=//p' /etc/os-release)
10+ endif
11+
12+ ifeq "$(VENDOR ) " "altlinux"
13+ $(call set-sysconfig,fsck,FSCK_ARGS,-py)
14+ endif
You can’t perform that action at this time.
0 commit comments