[scripts] force removal of entropy pid file from system image
This commit is contained in:
parent
cabccec56b
commit
af72ab84ed
@ -86,3 +86,7 @@ umount /proc
|
||||
|
||||
# remove hw hash
|
||||
rm -f /etc/entropy/.hw.hash
|
||||
# remove entropy pid file
|
||||
rm -f /var/run/entropy/entropy.lock
|
||||
|
||||
exit 0
|
||||
|
@ -117,4 +117,7 @@ rm -rf /var/lib/entropy/tmp
|
||||
# remove entropy hwhash
|
||||
rm -f /etc/entropy/.hw.hash
|
||||
|
||||
# remove entropy pid file
|
||||
rm -f /var/run/entropy/entropy.lock
|
||||
|
||||
exit 0
|
||||
|
@ -1,4 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# make sure there is no stale pid file around that prevents entropy from running
|
||||
rm -f /var/run/entropy/entropy.lock
|
||||
|
||||
export FORCE_EAPI=2
|
||||
equo update
|
||||
if [ "${?}" != "0" ]; then
|
||||
|
@ -342,4 +342,7 @@ emaint --fix world
|
||||
|
||||
rm -rf /var/lib/entropy/*cache*
|
||||
|
||||
# remove entropy pid file
|
||||
rm -f /var/run/entropy/entropy.lock
|
||||
|
||||
exit 0
|
||||
|
@ -10,3 +10,7 @@ fi
|
||||
|
||||
# remove entropy hwash
|
||||
rm -f "${CHROOT_DIR}"/etc/entropy/.hw.hash
|
||||
# remove entropy pid file
|
||||
rm -f "${CHROOT_DIR}"/var/run/entropy/entropy.lock
|
||||
|
||||
exit 0
|
||||
|
@ -7,3 +7,7 @@ equo query list installed -qv > /etc/sabayon-pkglist
|
||||
|
||||
# remove hw hash
|
||||
rm -f /etc/entropy/.hw.hash
|
||||
# remove entropy pid file
|
||||
rm -f /var/run/entropy/entropy.lock
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user