diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-05 15:13:04 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-05 16:33:01 +0100 |
commit | bf7f7ef2699bdf89222427fe16a34707fa394065 (patch) | |
tree | c07af5fb16008d7b4e361730fbded52ab74f7b1b /main/alpine-conf/0001-setup-bootable-use-UUID-on-new-USBs.patch | |
parent | e3884fbde941e42651d3a137bd20e9e09660714c (diff) | |
download | aports-bf7f7ef2699bdf89222427fe16a34707fa394065.tar.bz2 aports-bf7f7ef2699bdf89222427fe16a34707fa394065.tar.xz |
main/alpine-conf: use UUID on new boot usbs
Diffstat (limited to 'main/alpine-conf/0001-setup-bootable-use-UUID-on-new-USBs.patch')
-rw-r--r-- | main/alpine-conf/0001-setup-bootable-use-UUID-on-new-USBs.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/main/alpine-conf/0001-setup-bootable-use-UUID-on-new-USBs.patch b/main/alpine-conf/0001-setup-bootable-use-UUID-on-new-USBs.patch new file mode 100644 index 0000000000..82c8a49736 --- /dev/null +++ b/main/alpine-conf/0001-setup-bootable-use-UUID-on-new-USBs.patch @@ -0,0 +1,25 @@ +From 6df463ada5052a39b32a443b276b489c431a115f Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Tue, 5 Nov 2013 14:15:44 +0100 +Subject: [PATCH] setup-bootable: use UUID on new USBs + +--- + setup-bootable.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup-bootable.in b/setup-bootable.in +index 18e41bf..2df03e6 100644 +--- a/setup-bootable.in ++++ b/setup-bootable.in +@@ -256,7 +256,7 @@ for i in $tomove; do + mv "$destdir"/.new/$i "$destdir"/ || die "Failed to move $destdir/.new/ to $destdir" + done + +-if [ -n "$replace_alpine_dev" ] && [ -n "$UUID" ]; then ++if [ -n "$replace_alpine_dev" -o -z "$upgrade" ] && [ -n "$UUID" ]; then + sed -i -e "s/alpine_dev=[^ \t:]\+/alpine_dev=UUID=$UUID/" \ + "$destdir"/syslinux.cfg + fi +-- +1.8.4.2 + |