Skip to content

Commit

Permalink
initrd/bin/talos-init: add alias for cbmem
Browse files Browse the repository at this point in the history
Signed-off-by: Krystian Hebel <[email protected]>
  • Loading branch information
krystian-hebel committed Mar 30, 2023
1 parent 9550d2b commit 1a69b1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions initrd/bin/talos-init
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@
devmem 0x80060300D0010081 8 254
devmem 0x80060300D0010082 8 254

# Alias for cbmem to remove need for '-f' option in every call
echo "alias cbmem='cbmem -f /sys/firmware/cbmem'" >> $HOME/.profile
export ENV=$HOME/.profile

# Proceed with standard init path
exec /bin/gui-init

0 comments on commit 1a69b1d

Please sign in to comment.