forked from intelligent-agent/Refactor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmake-kamikaze.sh
executable file
·61 lines (54 loc) · 1.19 KB
/
make-kamikaze.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/bin/bash
set -x
set -e
>/root/make-kamikaze.log
exec > >(tee -ia /root/make-kamikaze.log)
exec 2> >(tee -ia /root/make-kamikaze.log >&2)
# TODO 2.1:
# PCA9685 in devicetree
# Make redeem dependencies built into redeem
# Remove xcb/X11 dependencies
# Add sources to clutter packages
# Slic3r support
# Edit Cura profiles
# Remove root access
# /dev/ttyGS0
# TODO 2.0:
# After boot,
# initrd img / depmod-a on new kernel.
# STAGING:
# Copy uboot files to /boot/uboot
# Restart commands on install for Redeem and Toggle
# Update to Clutter 1.26.0+dsfg-1
# Get the versioning information from the entries in version.d/
export VERSIONING=`pwd`/Packages/version.d
for f in `ls ${VERSIONING}/*`
do
source $f
done
echo "**Making ${VERSION}**"
export LC_ALL=C
export PATH=`pwd`/Packages:$PATH
install_sgx
setup_port_forwarding
install_dependencies
create_user
install_redeem
virtualize_redeem
install_octoprint
install_octoprint_redeem
install_octoprint_toggle
install_overlays
install_toggle
# install_cura
# install_slic3r
# install_u-boot
make_general_adjustments
install_usbreset
install_smbd
install_dummy_logging
install_videostreamer
rebrand_ssh
perform_cleanup
prepare_flasher
echo "Now reboot!"