Fix a typo in cp, -L is the correct flag

This commit is contained in:
Timothy Redaelli 2015-06-27 01:00:29 +02:00
parent 0e12f9b064
commit 89b96e213b

View file

@ -40,7 +40,7 @@ download_and_extract_bootstrap() {
sha1sum -c sha1sums.txt || exit 1 sha1sum -c sha1sums.txt || exit 1
tar -xpzf "$filename" tar -xpzf "$filename"
rm -f "$filename" rm -f "$filename"
cp -R /etc/resolv.conf "/root.$cpu_type/etc" cp -L /etc/resolv.conf "/root.$cpu_type/etc"
mount --rbind /dev "/root.$cpu_type/dev" mount --rbind /dev "/root.$cpu_type/dev"
mount -t proc proc "/root.$cpu_type/proc" mount -t proc proc "/root.$cpu_type/proc"
mount -t sysfs sys "/root.$cpu_type/sys" mount -t sysfs sys "/root.$cpu_type/sys"