]> git.wh0rd.org - home.git/blame - .bin/glinux-vapier-setup
cros-board: update
[home.git] / .bin / glinux-vapier-setup
CommitLineData
87a4c624 1#!/bin/bash
9c7b1fa2 2
87a4c624 3pkgs=(
dc93d0d6 4 cifs-utils
87a4c624 5 clusterssh
f01b8ca8 6 iotop
d25382c2 7 pavucontrol
87a4c624 8 pssh
367831fb 9 pylint
9c7b1fa2
MF
10 python3-pip
11 python3-protobuf
87a4c624
MF
12 sharutils
13 unzip
14
50c71a30 15 become
cdabee74 16 goobuntu-remote-unlock
50c71a30
MF
17 lvm2
18 thin-provisioning-tools
cdabee74 19
0022ab57 20 dict
14031d68 21 elinks
f01b8ca8
MF
22 feh
23 gimp
87a4c624 24 gkrellm
dc93d0d6 25 inkscape
12021af1 26 mplayer
0022ab57 27 mpv
12021af1 28 vlc
87a4c624 29 wmctrl
cdabee74 30 hexchat
87a4c624 31 xrestop
2719fe4d
MF
32 advancecomp
33 jpegoptim
cdabee74 34 konsole
c304d23b 35 okular
2719fe4d
MF
36 optipng
37 pngcrush
87a4c624
MF
38 yakuake
39
c36703e8
MF
40 autoconf
41 automake
2c94c584
MF
42 bison
43 ccache
2719fe4d
MF
44 clang
45 clang-format
c36703e8 46 dejagnu
684639b1 47 diffstat
2c94c584 48 flex
2719fe4d 49 gcc
87a4c624 50 git
dc93d0d6 51 git-email
02fe2a67 52 git-svn
87a4c624
MF
53 gdb
54 keychain
c36703e8 55 libtool
c47b4f34 56 ncal
36cfc192 57 nfs-common
50c71a30 58 patchutils
d25382c2 59 pax-utils
50c71a30 60 pinfo
d5c95d33 61 screen
87a4c624 62 strace
02fe2a67 63 subversion
c36703e8 64 texinfo
87a4c624 65 tree
f76b755f 66
28101c22 67 dnsutils
9c7b1fa2 68 gkermit
f76b755f 69 minicom
0022ab57 70 mosh
f76b755f
MF
71 netcat
72 nfs-kernel-server
9c7b1fa2 73 qemu-{user,system,utils}
f76b755f
MF
74 rsh-client
75 telnet-ssl
76 tftp{,d}-hpa
0022ab57 77 whois
f76b755f
MF
78 wireshark
79 xinetd
2c94c584 80
cdabee74 81 adb
0022ab57
MF
82 # Newer adb packages include fastboot.
83# fastboot
84
85 eterm
86 gnome-terminal
87 mlterm
88 pterm
0022ab57
MF
89 rxvt-unicode
90 stterm
91 xterm
ed5059f6 92
2c94c584 93 device-tree-compiler
50c71a30
MF
94 libcap-dev
95 libcap-ng-dev
2c94c584
MF
96 libfdt-dev
97 libftdi-dev
98 liblzma-dev
99 libpixman-1-dev
100 libreadline-dev
2c94c584 101 libusb-1.0-0-dev
9c7b1fa2
MF
102 python3-bs4
103 python3-dev
50c71a30 104 virtualenv
2c94c584 105 zlib1g-dev
87a4c624
MF
106)
107sudo bash -c '
0022ab57
MF
108set -ex
109glinux-config -U set custom_etc_sudoers_d true
d25382c2
MF
110printf "Defaults !tty_tickets\nDefaults timestamp_timeout=360\n" > /etc/sudoers.d/vapier
111chmod 440 /etc/sudoers.d/vapier
87a4c624 112
367831fb 113apt-get -y purge zeitgeist*
cdabee74 114apt-get -y purge thunderbird evolution
d25382c2
MF
115apt-get -y purge google-chrome-beta
116apt-get -y install google-chrome-unstable
117apt-get -y install "$@"
87a4c624 118
0022ab57
MF
119glinux-updater
120glinux-remote-unlock enroll
87a4c624 121
d25382c2 122ln -sf ~vapier/.profile.d/ROOT-bash_profile ~root/.bash_profile
87a4c624 123for f in .gitconfig .inputrc .nanorc ; do
d25382c2
MF
124 ln -sf ~vapier/${f} ~root/${f}
125done
28101c22 126rm -f ~root/.profile ~root/.bashrc
87a4c624
MF
127echo . ~vapier/.profile.d/ROOT-bashrc > ~root/.bashrc
128
d25382c2
MF
129echo -g > /etc/ps1_append
130
87a4c624 131rm -f /cros
cdabee74 132#ln -s /usr/local/src/chromiumos/cros-signing /cros
87a4c624 133' bash "${pkgs[@]}"