8d66d14452
Check if the swap partition ("hibernation") exist or not
before swapon command.
Since the partlabel appears late, change the script
excution sequence to 99.
Signed-off-by: Mason Huo <mason.huo@starfivetech.com>
14 lines
416 B
Makefile
14 lines
416 B
Makefile
################################################################################
|
|
#
|
|
# pm
|
|
#
|
|
################################################################################
|
|
PM_LICENSE = GPL-2.0+
|
|
|
|
define PM_INSTALL_TARGET_CMDS
|
|
install -m 0755 -D package/starfive/pm/S90cpufreq $(TARGET_DIR)/etc/init.d/
|
|
install -m 0755 -D package/starfive/pm/S99hibernation $(TARGET_DIR)/etc/init.d/
|
|
endef
|
|
|
|
$(eval $(generic-package))
|