Skip to content
Snippets Groups Projects
Commit e17b535d authored by Dmitry Petrov's avatar Dmitry Petrov
Browse files

fngsystem: add alias for parted

After downgrading parted to 1.8.7 (GPLv2 version), it was discovered
that in rare cases, parted may stop execution of command and will
wait for user interaction.

Add alias to run parted in script mode to prevent this behavior
and to keep backward compatibility with older fng-install.sh
scripts.
parent 29d83fdd
No related branches found
No related tags found
1 merge request!613fngsystem: Set distro to nogplv3
# After downgrading parted to 1.8.7 (GPLv2 version), it was discovered
# that in rare cases, parted may stop execution of command and will
# wait for user interaction.
# Add alias to run parted in script mode to prevent this behavior
# and to keep backward compatibility with older fng-install.sh
# scripts.
alias parted='parted -s'
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append = " \
file://profile_d_parted.sh \
"
do_install:append:fng() {
install -d ${D}${sysconfdir}/profile.d
install -d ${D}${sysconfdir}/profile.d/available
install -m 0755 ${WORKDIR}/profile_d_parted.sh ${D}${sysconfdir}/profile.d/available/parted.sh
ln -s available/parted.sh ${D}${sysconfdir}/profile.d/parted.sh
}
FILES:${PN}:append = " ${sysconfdir}/profile.d/* "
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment