forked from mirrored-repos/manjaro-tools
[mhwd-live] moving out some to debug-log
This commit is contained in:
parent
d3ec3f4a61
commit
9510730198
1 changed files with 5 additions and 3 deletions
|
@ -10,9 +10,10 @@ seconds="0"
|
||||||
while [ -e "/var/lib/pacman/db.lck" ];
|
while [ -e "/var/lib/pacman/db.lck" ];
|
||||||
do
|
do
|
||||||
echo 'Pacman is not ready yet. Will try again in 10 seconds.' >> /var/log/livecd.log
|
echo 'Pacman is not ready yet. Will try again in 10 seconds.' >> /var/log/livecd.log
|
||||||
echo '----' >> /var/log/livecd.log
|
echo 'Pacman is not ready yet. Will try again in 10 seconds.' >> /var/log/livecd-debug.log
|
||||||
ps -ef >> /var/log/livecd.log
|
echo '----' >> /var/log/livecd-debug.log
|
||||||
echo '----' >> /var/log/livecd.log
|
ps -ef >> /var/log/livecd-debug.log
|
||||||
|
echo '----' >> /var/log/livecd-debug.log
|
||||||
seconds=$(($seconds + 10))
|
seconds=$(($seconds + 10))
|
||||||
sleep 10
|
sleep 10
|
||||||
if [[ "$seconds" == "60" ]]; then
|
if [[ "$seconds" == "60" ]]; then
|
||||||
|
@ -20,6 +21,7 @@ do
|
||||||
# this might be related to https://github.com/manjaro/pamac/issues/25
|
# this might be related to https://github.com/manjaro/pamac/issues/25
|
||||||
# https://github.com/manjaro/manjaro-tools/issues/101
|
# https://github.com/manjaro/manjaro-tools/issues/101
|
||||||
echo 'Warning: removing pacman db.lck!' >> /var/log/livecd.log
|
echo 'Warning: removing pacman db.lck!' >> /var/log/livecd.log
|
||||||
|
echo 'Warning: removing pacman db.lck!' >> /var/log/livecd-debug.log
|
||||||
rm /var/lib/pacman/db.lck
|
rm /var/lib/pacman/db.lck
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue