Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: update_bootloaders.sh

Issue 3043011: build_image, build_kernel_image, update_bootloaders: fix up rootfs_verification (Closed) Base URL: http://src.chromium.org/git/crosutils.git
Patch Set: quick comment fix Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « create_legacy_bootloader_templates.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_bootloaders.sh
diff --git a/update_bootloaders.sh b/update_bootloaders.sh
index bdd7c09a0d7e9b580160d2fca1cb63468823e15e..db443c40fdb14e9dea11be33c582d7fbd3f2c6f2 100755
--- a/update_bootloaders.sh
+++ b/update_bootloaders.sh
@@ -72,8 +72,7 @@ if ! type -p update_x86_bootloaders; then
sudo dd of="${esp_fs_dir}"/efi/boot/grub.cfg
# Rewrite syslinux DM_TABLE
- usb_target="${FLAGS_usb_disk//\//\\\/}"
- syslinux_dm_table_usb=${dm_table//\/dev\/${old_root}/${usb_target}}
+ syslinux_dm_table_usb=${dm_table//\/dev\/${old_root}/${FLAGS_usb_disk}}
sed -e "s|DMTABLEA|${syslinux_dm_table_usb}|g" \
"${template_dir}"/syslinux/usb.A.cfg |
sudo dd of="${esp_fs_dir}"/syslinux/usb.A.cfg
@@ -84,7 +83,7 @@ if ! type -p update_x86_bootloaders; then
sudo dd of="${esp_fs_dir}"/syslinux/root.A.cfg
syslinux_dm_table_b=${dm_table//\/dev\/${old_root}/HDROOTB}
- sed -e "s|DMTABLEA|${syslinux_dm_table_a}|g" \
+ sed -e "s|DMTABLEB|${syslinux_dm_table_b}|g" \
"${template_dir}"/syslinux/root.B.cfg |
sudo dd of="${esp_fs_dir}"/syslinux/root.B.cfg
« no previous file with comments | « create_legacy_bootloader_templates.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698