File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ sed -i 's/#IgnorePkg =/IgnorePkg = linux linux-*/' /etc/pacman.conf
1717echo ' Server = http://de3.mirror.archlinuxarm.org/$arch/$repo' > /etc/pacman.d/mirrorlist
1818pacman-key --init
1919pacman-key --populate archlinuxarm
20- pacman --noprogressbar --noconfirm --needed -Syu
20+ pacman --noprogressbar --noconfirm --needed --overwrite ' * ' - Syu
2121pacman --noprogressbar --noconfirm -R linux-zedboard || true
2222
2323# install dependencies
24- pacman --noprogressbar --noconfirm --needed -S $( grep -vE " ^\s*#" makefiles/in_chroot/requirements_pacman.txt | tr " \n" " " )
24+ pacman --noprogressbar --noconfirm --needed --overwrite ' * ' - S $( grep -vE " ^\s*#" makefiles/in_chroot/requirements_pacman.txt | tr " \n" " " )
2525pip install --break-system-packages wheel
2626pip install --break-system-packages --progress-bar off -r makefiles/in_chroot/requirements_pip.txt
2727
@@ -197,6 +197,6 @@ rm -f $HASH_LOCATION/hashes.txt; rm -f $HASH_LOCATION/files.txt
197197find $VERIFY_DIRECTORIES -type f > $HASH_LOCATION /files.txt
198198# also hash file list
199199echo " $HASH_LOCATION /files.txt" >> $HASH_LOCATION /files.txt
200- hashdeep -c sha256 -f $HASH_LOCATION /files.txt > $HASH_LOCATION /hashes.txt
200+ sudo rhash -- sha256 --file-list $HASH_LOCATION /files.txt -o $HASH_LOCATION /hashes.txt
201201
202202echo " axiom-update finished. Software version is now $( git describe --always --abbrev=8 --dirty) ."
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ base-devel
99git
1010figlet
1111wget
12- hashdeep
12+ rhash
1313pacman-contrib
1414rsync
1515
Original file line number Diff line number Diff line change 22HASH_LOCATION=" /opt/integrity_check"
33
44echo " Checking Axiom system files... (this might take a while)"
5- output=$( hashdeep -c sha256 -x -f $HASH_LOCATION /files.txt -k $HASH_LOCATION /hashes.txt)
5+ output=$( sudo rhash -c --skip-ok --brief $HASH_LOCATION /hashes.txt)
66
77if [ -z " $output " ]; then
88 echo " No problems detected, all files are in factory state."
You can’t perform that action at this time.
0 commit comments