mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
mkspec.sh: Add mkinitrd_setup in %post
This commit is contained in:
parent
2fc1c9a953
commit
9fafcfb02f
1 changed files with 4 additions and 1 deletions
|
|
@ -70,7 +70,10 @@ echo "cat $INSTALL_LOG | sed \"s% \$RPM_BUILD_ROOT% %\" | grep -e '//include/.*
|
|||
#echo "echo $VERSION.$RELEASE > \$RPM_BUILD_ROOT/usr/share/doc/packages/ytools/VERSION"
|
||||
echo ""
|
||||
echo "%post -n $NAME-run"
|
||||
if [ "$TARGET" != mingw ]; then echo "/opt/ytools/bin/jcs init"; fi
|
||||
if [ "$TARGET" != mingw ]; then
|
||||
echo "/opt/ytools/bin/jcs init"
|
||||
echo "/sbin/mkinitrd_setup"
|
||||
fi
|
||||
echo ""
|
||||
echo "%clean"
|
||||
#echo 'rm -rf $RPM_BUILD_ROOT'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue