File tree 3 files changed +5
-5
lines changed
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
17
17
echo ' Server = http://de3.mirror.archlinuxarm.org/$arch/$repo' > /etc/pacman.d/mirrorlist
18
18
pacman-key --init
19
19
pacman-key --populate archlinuxarm
20
- pacman --noprogressbar --noconfirm --needed -Syu
20
+ pacman --noprogressbar --noconfirm --needed --overwrite ' * ' - Syu
21
21
pacman --noprogressbar --noconfirm -R linux-zedboard || true
22
22
23
23
# 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" " " )
25
25
pip install --break-system-packages wheel
26
26
pip install --break-system-packages --progress-bar off -r makefiles/in_chroot/requirements_pip.txt
27
27
@@ -197,6 +197,6 @@ rm -f $HASH_LOCATION/hashes.txt; rm -f $HASH_LOCATION/files.txt
197
197
find $VERIFY_DIRECTORIES -type f > $HASH_LOCATION /files.txt
198
198
# also hash file list
199
199
echo " $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
201
201
202
202
echo " 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
9
9
git
10
10
figlet
11
11
wget
12
- hashdeep
12
+ rhash
13
13
pacman-contrib
14
14
rsync
15
15
Original file line number Diff line number Diff line change 2
2
HASH_LOCATION=" /opt/integrity_check"
3
3
4
4
echo " 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)
6
6
7
7
if [ -z " $output " ]; then
8
8
echo " No problems detected, all files are in factory state."
You can’t perform that action at this time.
0 commit comments