From 9554bef4eb37f4b2b919c396fe29df6d75833923 Mon Sep 17 00:00:00 2001 From: Jannis Pohlmann Date: Fri, 23 Mar 2012 13:33:10 +0000 Subject: Hard-code buysbox cp and sed for now. --- tbdiff-update/tbdiff-update | 8 ++++---- 1 file 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 / -- cgit v1.2.1