Closed j-reher closed 2 years ago
The following line in cmthome/requirements
should be uncommented and adjusted by the install script, but apparently isn't:
#macro WorkArea "/home/bes/maqm/cvmfs/705"
Maybe I missed this line when turning the boss version into a build arg?
The following command should do the adjustments:
sed -i 's/#macro WorkArea \"\/home\/bes\/maqm\/workarea\"/macro WorkArea \"\/root\/workarea\"/g' /root/cmthome/requirements
Clearly the contents of this line before the operation runs have changed, which is why sed
can't work here. This could be very annoying to deal with.
Maybe the best approach would be to identify the line by the fact it contains #macro WorkArea
, and then forcibly replacing the entire line?
Replace entire line:
sed -i 's@#macro WorkArea.*@macro WorkArea "/root/workarea"@' /root/cmthome/requirements
Running
cmt make
in custom YAPP package fails withboss:7.0.9.p01
because the workarea is not in the CMT path.I remember fixing that before -- was that fix incomplete for non-
latest
versions? Or was it only valid for 7.0.5?