Skip to content
Snippets Groups Projects
Commit dcf74129 authored by Daniel Gachet's avatar Daniel Gachet
Browse files

wip

parent ef33275d
No related branches found
No related tags found
No related merge requests found
[Unit]
Description=Tftp Server
Requires=tftp-server.socket
Documentation=man:in.tftpd
[Service]
ExecStart=/usr/sbin/in.tftpd -p -s /home/lmi/workspace/nano/buildroot/output/images
StandardInput=socket
[Install]
WantedBy=multi-user.target
Also=tftp-server.socket
[Unit]
Description=Tftp Server Activation Socket
[Socket]
ListenDatagram=69
[Install]
WantedBy=sockets.target
......@@ -23,30 +23,16 @@ sudo dnf install -y gnome-tweak-tool firewall-config kernel-devel libyaml-devel
sudo dnf install -y gcc-c++ autoconf libtool dtc make patch ctags openssl-devel uboot-tools ncurses-devel mercurial
sudo dnf install -y flex bison swig python-devel python3-devel policycoreutils-python-utils perl-ExtUtils-MakeMaker
## make additional symbolic links for former libraries used by aarch64 gdb
## probably to be removed with newest buildroot version
##sudo ln -s /usr/lib64/libtinfo.so.6.1 /usr/lib64/libtinfo.so.5
##sudo ln -s /usr/lib64/libncursesw.so.6.1 /usr/lib64/libncursesw.so.5
#install git tools and configure keyring
sudo dnf install -y git-gui meld
sudo dnf install -y git-credential-libsecret
git config --global credential.helper /usr/libexec/git-core/git-credential-libsecret
# #install eclipse IDE
# if [ ! -d "/opt/eclipse" ]; then
# wget http://mirrors.uniri.hr/eclipse//technology/epp/downloads/release/photon/R/eclipse-cpp-photon-R-linux-gtk-x86_64.tar.gz
# sudo tar xf eclipse-cpp-photon-R-linux-gtk-x86_64.tar.gz -C /opt
# sudo ln -s /opt/eclipse/eclipse /usr/bin/eclipse
# rm eclipse-cpp-photon-R-linux-gtk-x86_64.tar.gz
# fi
# cp ${SCRIPTDIR}/config/eclipse.desktop ~/.local/share/applications/
#install tftpd server
sudo dnf install -y tftp-server xinetd
sudo cp ${SCRIPTDIR}/config/tftp /etc/xinetd.d/
sudo systemctl start xinetd.service
sudo systemctl enable xinetd.service
sudo dnf install -y tftp-server tftp
sudo cp ${SCRIPTDIR}/config/tftp-server.* /etc/systemd/system
sudo systemctl daemon-load
sudo systemctl enable --now tftp-server
sudo setsebool -P tftp_anon_write 1
sudo setsebool -P tftp_home_dir 1
......@@ -61,14 +47,3 @@ sudo firewall-cmd --permanent --zone FedoraWorkstation --add-service nfs
sudo firewall-cmd --permanent --zone FedoraWorkstation --add-service tftp
sudo firewall-cmd --permanent --zone FedoraWorkstation --add-service rpc-bind
sudo firewall-cmd --reload
# echo ""
# echo "How to fix Flickering in Fedora on Virtualbox"
# echo "according to https://www.serverlab.ca/tutorials/linux/administration-linux/how-to-fix-flickering-in-fedora-on-virtualbox/"
# echo ""
# echo "edit file : /etc/gdm/custom.conf"
# echo "under '[DAEMON]':"
# echo " - uncomment variable 'WaylandEnable' and ensure it is set to 'false'"
# echo " - add line 'DefaultSession=gnome=xorg.desktop'"
# echo "save the file and restart"
# echo ""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment