From 9fafcfb02f7e942b2bc00d8261cd6f5669b2413d Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 7 Apr 2009 18:34:21 +0000 Subject: [PATCH] mkspec.sh: Add mkinitrd_setup in %post --- make/mkspec.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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'