Modify

Opened 6 years ago

Last modified 4 years ago

#10171 new defect

Package procpc nee to replace symlink from busybox

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: procps missing symlink replacement Cc:

Description

The Package "procpc" needs two extra blocks added to the Makefile:

define Package/procps/preinst
#!/bin/sh
if [ -e $${IPKG_INSTROOT}/bin/ps ]; then
  rm $${IPKG_INSTROOT}/bin/ps;
fi
endef

and

define Package/procps/postrm
#!/bin/sh
ln -sf ../../bin/busybox $${IPKG_INSTROOT}/bin/ps
$${IPKG_INSTROOT}/usr/ps 2>&1 | grep 'applet not found' > /dev/null 2>&1 && rm $${IPKG_INSTROOT}/usr/ps
exit 0
endef

without this Lines, the /bin/ps-symlink is not removed and the busybox-version is still used, instead of the replacement in /usr/bin

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.