[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Cat command in the %post



Thanks for all the replies.

Now I have two post sections as shown below:

%post --nochroot
mv /tmp/drivetype /mnt/sysimage/tmp/drivetype

%post
driveType=`cat  /mnt/sysimage/tmp/drivetype`

I still get the following error from the second post section:
cat:  /mnt/sysimage/tmp/drivetype:  No such file or directory

Have I still got something messed up?





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]