Skip to content

Commit

Permalink
Merge pull request #254 from AuxXxilium/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
AuxXxilium authored Jan 14, 2024
2 parents 03a0101 + 5835744 commit 5cb18ff
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion misc/install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/usr/bin/env ash
if [ "${1}" = "early" ]; then
# Export dmesg to disk
mkdir -p "/usr/log"
[ -f "/usr/log/dmesg.txt" ] && rm -f "/usr/log/dmesg.txt"
echo "Early" > "/usr/log/dmesg.txt"
dmesg >> "/usr/log/dmesg.txt"
fi

if [ "${1}" = "late" ]; then
echo "Script for fixing missing HW features dependencies and another functions"
Expand Down Expand Up @@ -73,7 +80,8 @@ if [ "${1}" = "late" ]; then
# Export dmesg to disk
mkdir -p "/tmpRoot/usr/log"
[ -f "/tmpRoot/usr/log/dmesg.txt" ] && rm -f "/tmpRoot/usr/log/dmesg.txt"
dmesg > "/tmpRoot/usr/log/dmesg.txt"
echo "Late" > "/tmpRoot/usr/log/dmesg.txt"
dmesg >> "/tmpRoot/usr/log/dmesg.txt"

# Network
#for I in `seq 0 7`; do
Expand Down

0 comments on commit 5cb18ff

Please sign in to comment.