All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [oe-commits] Koen Kooi : util-linux-ng: fix packaging, u-a and replace hardcoded paths
@ 2009-06-20  9:42 Phil Blundell
  2009-06-20 10:06 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Blundell @ 2009-06-20  9:42 UTC (permalink / raw)
  To: openembedded-devel

> @@ -129,7 +131,8 @@ do_install () {
>  	install -d ${D}${sysconfdir}/default/
>  	echo 'MOUNTALL="-t nonfs,nosmbfs,noncpfs"' > ${D}${sysconfdir}/default/mountall
>  
> -	ln -sf ${sbindir}/swapon ${D}${sbindir}/swapoff.${PN}
> +	rm ${D}${sbindir}/swap* -f
> +	ln -sf ${base_sbindir}/swapon.${PN} ${D}${base_sbindir}/swapoff.${PN}
>  	ln -sf ${sbindir}/shutdown ${D}${sbindir}/reboot.${PN}
>  	ln -sf ${sbindir}/shutdown ${D}${sbindir}/halt.${PN}
>  	ln -sf ${sbindir}/shutdown ${D}${sbindir}/fastboot

What's the reason for that "rm"?  This looks like it will lose when
${base_sbindir} and ${sbindir} are the same directory.

p.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-20 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-20  9:42 [oe-commits] Koen Kooi : util-linux-ng: fix packaging, u-a and replace hardcoded paths Phil Blundell
2009-06-20 10:06 ` Koen Kooi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.