diff --git a/make/mkspec.sh b/make/mkspec.sh index 5fd0bc0b..9f9e19d6 100644 --- a/make/mkspec.sh +++ b/make/mkspec.sh @@ -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'