Changeset View
Changeset View
Standalone View
Standalone View
tools/boot/rootgen.sh
Show All 21 Lines | |||||
# | # | ||||
# These images assume ada0 will be the root image. We should likely | # These images assume ada0 will be the root image. We should likely | ||||
# use labels, but we don't. | # use labels, but we don't. | ||||
# | # | ||||
# Assumes you've already rebuilt... maybe bad? Also maybe bad: the env | # Assumes you've already rebuilt... maybe bad? Also maybe bad: the env | ||||
# vars should likely be conditionally set to allow better automation. | # vars should likely be conditionally set to allow better automation. | ||||
# | # | ||||
. $(dirname $0)/install-boot.sh | |||||
cpsys() { | cpsys() { | ||||
src=$1 | src=$1 | ||||
dst=$2 | dst=$2 | ||||
# Copy kernel + boot loader | # Copy kernel + boot loader | ||||
(cd $src ; tar cf - .) | (cd $dst; tar xf -) | (cd $src ; tar cf - .) | (cd $dst; tar xf -) | ||||
} | } | ||||
▲ Show 20 Lines • Show All 830 Lines • Show Last 20 Lines |