Skip to content

Commit 0224391

Browse files
committed
Slight change to the serial UART part of the setup script.
1 parent 58261a6 commit 0224391

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

scripts/get-env.sh

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,22 +100,25 @@ sudo adduser $USER dialout
100100
(
101101
cd $SETUP_DIR
102102
sudo cp -uf 52-hdmi2usb.rules /etc/udev/rules.d/
103-
104103
)
105104

106105
# build exar-uart-driver
107106
(
108-
cd $BUILD_DIR
109-
rm -fr exar-uart-driver
107+
cd $BUILD_DIR
108+
# Build the vizzini-source package
109+
rm -fr exar-uart-driver
110110
git clone https://github.com/mithro/exar-uart-driver
111-
cd exar-uart-driver
112-
sudo apt-get install linux-headers-generic debhelper module-assistant
113-
dpkg-buildpackage -rfakeroot
114-
sudo dpkg --install ../vizzini-source_*_all.deb
111+
cd exar-uart-driver
112+
sudo apt-get install linux-headers-generic debhelper module-assistant
113+
dpkg-buildpackage -rfakeroot
114+
# Install the vizzini-source package
115+
sudo dpkg --install ../vizzini-source_*_all.deb
116+
sudo apt-get -f install
117+
# Use module assistant to build and install a package containing modules for
118+
# your current kernel.
119+
sudo m-a b-i vizzini
115120
)
116121

117-
118-
119122
sudo apt-get install -y gtkwave
120123

121124
echo "Completed. To load environment:"

0 commit comments

Comments
 (0)