The pkg-postinst() was nice to have this has been omitted since openmosix-2.4.21-r3. Thanks! pkg_postinst() { if [ ! -e ${ROOT}usr/src/linux ] then rm -f ${ROOT}usr/src/linux ln -sf openmosix-sources-${KV} ${ROOT}/usr/src/linux fi }
My mistake: ln -sf openmosix-sources-${KV} ${ROOT}/usr/src/linux s/b ln -sf linux-${KV} ${ROOT}/usr/src/linux
voxus: can you take care of this?
tantive: yep, i'll fix it today.
fixed in openmosix-sources-2.4.22-r9
When a security patch was entered for -r9 it excluded the symlink fix, subsequent updates no longer contained the fix either. We are now at -r11
hmm. i can see that pkg_postinst()'s symlink fix in .24-r1 and .22-r11, so i can't get the point of problem. am i missing something?
It hasn't worked for me in the last three installs. I think the statement if [ ! -e ${ROOT}usr/src/linux ] should be if [ -e ${ROOT}usr/src/linux ] Or drop the if statement all together since we want to do this under any condition.
David: if the behaviour of this ebuild will change from other's *-sources, we'll have to change all that ebuilds too (and yes, that's impossible, because it's not our area of resposibility), otherwise - someone'll be confused for sure. so i can only suggest you to remove symlink before emerging oM-sources. it's a common behavior, that if someone merged whatever-sources and is using them, then merges om-sources and only wants to look into them, the link should point to wherever it pointed before
closing due to silence..