LFS buld scripts.
http://linuxfromscratch.org/lfs/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
548 B
30 lines
548 B
|
6 years ago
|
#!/bin/bash
|
||
|
|
|
||
|
|
set -e
|
||
|
|
|
||
|
|
#### 2.2. Host system requirements
|
||
|
|
|
||
|
|
apt-get update
|
||
|
|
apt-get install -y build-essential bison gawk vim util-linux texinfo expect parted
|
||
|
|
|
||
|
|
# Disable dash as default shell
|
||
|
|
|
||
|
|
echo "dash dash/sh boolean false" | debconf-set-selections
|
||
|
|
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash
|
||
|
|
|
||
|
|
# Check the host system
|
||
|
|
|
||
|
|
sh /vagrant/utils/check-host-requirements.sh
|
||
|
|
|
||
|
|
#### Make LFS partition
|
||
|
|
|
||
|
|
sh /vagrant/host/02-partitions.sh
|
||
|
|
|
||
|
|
#### Set up build environment
|
||
|
|
|
||
|
|
sh /vagrant/host/03-packages.sh
|
||
|
|
sh /vagrant/host/04-user.sh
|
||
|
|
|
||
|
|
date > /var/host-init
|
||
|
|
|