fix one of the two issues in #162

merge-requests/33/head
Christopher Roy Bratusek 4 years ago
parent 598f8a9014
commit 167db770ae

@ -256,7 +256,7 @@ mount_partitions () {
if [ -z ${SLOT} ]; then
SLOT=$(grep_cmdline androidboot.slot)
echo " INFO: #2 [SLOT] ${SLOT}"
if [ -n ${SLOT} ]; then
if [ ! -z ${SLOT} ]; then
SLOT=_${SLOT}
echo " INFO: #3 [SLOT] ${SLOT}"
DEVICE_AB=TRUE

@ -123,7 +123,7 @@ mount_partitions () {
if [ -z ${SLOT} ]; then
SLOT=$(grep_cmdline androidboot.slot)
echo " INFO: #2 [SLOT] ${SLOT}"
if [ -n ${SLOT} ]; then
if [ ! -z ${SLOT} ]; then
SLOT=_${SLOT}
echo " INFO: #3 [SLOT] ${SLOT}"
DEVICE_AB=TRUE

@ -111,7 +111,7 @@ mount_partitions () {
SLOT=$(grep_cmdline androidboot.slot_suffix)
if [ -z ${SLOT} ]; then
SLOT=$(grep_cmdline androidboot.slot)
if [ -n ${SLOT} ]; then
if [ ! -z ${SLOT} ]; then
SLOT=_${SLOT}
DEVICE_AB=TRUE
fi

@ -139,7 +139,7 @@ mount_partitions () {
if [ -z ${SLOT} ]; then
SLOT=$(grep_cmdline androidboot.slot)
echo " INFO: #2 [SLOT] ${SLOT}"
if [ -n ${SLOT} ]; then
if [ ! -z ${SLOT} ]; then
SLOT=_${SLOT}
echo " INFO: #3 [SLOT] ${SLOT}"
DEVICE_AB=TRUE

Loading…
Cancel
Save