Fix capitalization of openSUSE

Change-Id: I10b9875633d29f4cc0b4e00c13bb5998a71bfc17
This commit is contained in:
Dirk Mueller 2014-08-28 18:48:11 +02:00
parent 72b41790b3
commit 3bff0ab543
3 changed files with 4 additions and 4 deletions

View File

@ -57,7 +57,7 @@ Installation
* Clone the repository locally, then add bin to your path. * Clone the repository locally, then add bin to your path.
* Make sure you have qemu-img (qemu-utils package on Ubuntu/Debian, * Make sure you have qemu-img (qemu-utils package on Ubuntu/Debian,
qemu on Fedora/RHEL/OpenSUSE) and kpartx installed. qemu on Fedora/RHEL/openSUSE) and kpartx installed.
Invocation Invocation
========== ==========

View File

@ -37,8 +37,8 @@ function cleanup_old_kernel_initrd()
select_boot_kernel_initrd $TARGET_ROOT select_boot_kernel_initrd $TARGET_ROOT
BOOTDIR=$TARGET_ROOT/boot BOOTDIR=$TARGET_ROOT/boot
# Select_boot_kernel has support for redhat/debian/openSuSE # Select_boot_kernel has support for redhat/debian/openSUSE
# openSuSE has a built-in logic to delete old kernels # openSUSE has a built-in logic to delete old kernels
# Hence cleanup_old_kernel will be used only for redhat and debian derived distros. # Hence cleanup_old_kernel will be used only for redhat and debian derived distros.
if [ -f $TARGET_ROOT/etc/redhat-release -o -f $TARGET_ROOT/etc/debian_version ] ; then if [ -f $TARGET_ROOT/etc/redhat-release -o -f $TARGET_ROOT/etc/debian_version ] ; then
cleanup_old_kernel_initrd cleanup_old_kernel_initrd

View File

@ -97,7 +97,7 @@ if [ -b $mount_device ]; then
sudo umount $UNTAR_TO_LOCATION/mnt sudo umount $UNTAR_TO_LOCATION/mnt
sudo qemu-nbd -d $mount_device sudo qemu-nbd -d $mount_device
else else
echo "Unable to extract openSuSe Image." echo "Unable to extract openSUSE Image."
exit 1 exit 1
fi fi
# remove the temp directory # remove the temp directory