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