Skip to content

Commit

Permalink
Provide placeholders for legacy config files
Browse files Browse the repository at this point in the history
  • Loading branch information
RadxaYuntian committed Oct 17, 2023
1 parent 0c40bf8 commit 5bcc612
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/hw_intfc.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# hw_intfc.conf has been retired.
# Please use `rsetup` command to confiure device overlays.
4 changes: 4 additions & 0 deletions config/uEnv.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# uEnv.txt has been retired.
# Please use:
# `rsetup` command to confiure device overlays;
# `sudo nano /etc/kernel/cmdline && sudo u-boot-update` to update kernel arguments.
2 changes: 2 additions & 0 deletions debian/rsetup.docs
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
src/SOURCE
config/config.txt
config/hw_intfc.conf
config/uEnv.txt
12 changes: 12 additions & 0 deletions debian/rsetup.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ then
then
cp /usr/share/doc/rsetup/config.txt /config/config.txt
fi
if [ ! -e /boot ]
then
mkdir /boot
fi
if [ ! -e /boot/hw_intfc.conf ]
then
cp /usr/share/doc/rsetup/hw_intfc.conf /boot/hw_intfc.conf
fi
if [ ! -e /boot/uEnv.txt ]
then
cp /usr/share/doc/rsetup/uEnv.txt /boot/uEnv.txt
fi
fi

#DEBHELPER#
Expand Down

0 comments on commit 5bcc612

Please sign in to comment.