3 Commits 2a73ffa4ab ... 3c70c6c306

Author SHA1 Message Date
  Michael Buesch 3c70c6c306 pilc: Remove whitespace from parted commands 4 years ago
  Michael Buesch bb5080ace4 Remove obsolete env script 4 years ago
  Michael Buesch 60a6c6d729 pilc: Remove some unnecessary packages 4 years ago
2 changed files with 4 additions and 47 deletions
  1. 0 39
      maintenance/env
  2. 4 8
      pilc/pilc-bootstrap.sh

+ 0 - 39
maintenance/env

@@ -1,39 +0,0 @@
-# No startup script.
-unset PYTHONSTARTUP
-
-# Do not require 4-digit years.
-unset PYTHONY2K
-
-# No optimization. We want assert statements.
-unset PYTHONOPTIMIZE
-
-# Disable Python debugging.
-unset PYTHONDEBUG
-
-# Do not write bytecode files.
-export PYTHONDONTWRITEBYTECODE=1
-
-# Disable inspect.
-unset PYTHONINSPECT
-
-# Use default I/O encoding.
-unset PYTHONIOENCODING
-
-# Default user-site.
-unset PYTHONNOUSERSITE
-
-# Use buffered I/O.
-unset PYTHONUNBUFFERED
-
-# Be non-verbose.
-unset PYTHONVERBOSE
-
-# Default warnings.
-unset PYTHONWARNINGS
-
-# Disable hash randomization to get stable dict collisions
-# and thus stable benchmark results.
-export PYTHONHASHSEED=0
-
-# Enforce CPU affinity to the last host CPU.
-export AWLSIM_AFFINITY=-1

+ 4 - 8
pilc/pilc-bootstrap.sh

@@ -456,8 +456,6 @@ EOF
 	info "Installing packages..."
 	apt-get $apt_opts install \
 		aptitude \
-		autoconf \
-		automake \
 		build-essential \
 		console-setup \
 		cython3 \
@@ -487,7 +485,6 @@ EOF
 		python3-serial \
 		python3-setuptools \
 		python3-spidev \
-		quilt \
 		raspberrypi-bootloader \
 		raspberrypi-net-mods \
 		raspberrypi-sys-mods \
@@ -495,7 +492,6 @@ EOF
 		raspi-gpio \
 		rng-tools \
 		schedtool \
-		screen \
 		sudo \
 		systemd \
 		tmux \
@@ -834,10 +830,10 @@ pilc_bootstrap_third_stage()
 		dd if=/dev/zero of="$imgfile" bs=1M count="$imgsize_mib_red" conv=sparse ||\
 			die "Failed to create image file."
 		parted "$imgfile" <<EOF
-		    unit b
-		    mklabel msdos
-		    mkpart primary fat32 $(expr 4 \* 1024 \* 1024) $(expr \( 256 + 4 \) \* 1024 \* 1024)
-		    mkpart primary ext4 $(expr \( 256 + 4 + 4 \) \* 1024 \* 1024) 100%
+unit b
+mklabel msdos
+mkpart primary fat32 $(expr 4 \* 1024 \* 1024) $(expr \( 256 + 4 \) \* 1024 \* 1024)
+mkpart primary ext4 $(expr \( 256 + 4 + 4 \) \* 1024 \* 1024) 100%
 EOF
 		[ $? -eq 0 ] || die "Failed to create partitions."