summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-23 13:33:10 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-03-23 13:33:10 +0000
commit9554bef4eb37f4b2b919c396fe29df6d75833923 (patch)
treef823e94cbf7195847abb1acd1f3aa9faf51c2171
parent81771871c53d24a084b54d116085028329312cf7 (diff)
downloadtbdiff-9554bef4eb37f4b2b919c396fe29df6d75833923.tar.gz
Hard-code buysbox cp and sed for now.
-rwxr-xr-xtbdiff-update/tbdiff-update8
1 files changed, 4 insertions, 4 deletions
diff --git a/tbdiff-update/tbdiff-update b/tbdiff-update/tbdiff-update
index 40ce11c..8d25bc0 100755
--- a/tbdiff-update/tbdiff-update
+++ b/tbdiff-update/tbdiff-update
@@ -99,13 +99,13 @@ btrfs subvolume snapshot "$target_subvolume" "$target_subvolume-run"
echo "Copying boot files to the root file system"
# copy boot files to the root file system
-cp "$target_subvolume/boot/vmlinuz" "boot/vmlinuz"
-cp "$target_subvolume/boot/System.map" "boot/System.map"
-cp "$target_subvolume/extlinux.conf" "extlinux.conf"
+busybox cp "$target_subvolume/boot/vmlinuz" "boot/vmlinuz"
+busybox cp "$target_subvolume/boot/System.map" "boot/System.map"
+busybox cp "$target_subvolume/extlinux.conf" "extlinux.conf"
echo "Configuring extlinux to boot from \"$target_subvolume-run\""
-sed -i -e "s,factory-run,$target_subvolume-run,g" "extlinux.conf"
+busybox sed -i -e "s,factory-run,$target_subvolume-run,g" "extlinux.conf"
# leave the root file system
cd /