aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-05-21 12:36:02 (GMT)
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-06-08 14:22:04 (GMT)
commitd0f52c69a2ed36543b3b043ac31eb4720fe3b5de (patch)
tree36fd04572ad18b4467cc9aed356d13398c9b3e5f
parentc6318136d435093b6acc1aa126ac797e2ec0a541 (diff)
downloadkernel_replicant_linux-d0f52c69a2ed36543b3b043ac31eb4720fe3b5de.zip
kernel_replicant_linux-d0f52c69a2ed36543b3b043ac31eb4720fe3b5de.tar.gz
kernel_replicant_linux-d0f52c69a2ed36543b3b043ac31eb4720fe3b5de.tar.bz2
ARM: replicant_*_defconfig: Switch to system-as-root
This uses PARTLABEL to share most of the configuration accross different devices. This can also handles devices being repartitioned or with different partition numbers. TODO: - Test and document what happens if a partition with the SYSTEM label is put on a microSD partition. Also decide on what should happen in that case and document that. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--arch/arm/configs/replicant_i9300_defconfig2
-rw-r--r--arch/arm/configs/replicant_i9305_defconfig2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/configs/replicant_i9300_defconfig b/arch/arm/configs/replicant_i9300_defconfig
index 254ff73..2878adf 100644
--- a/arch/arm/configs/replicant_i9300_defconfig
+++ b/arch/arm/configs/replicant_i9300_defconfig
@@ -44,7 +44,7 @@ CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND=y
-CONFIG_CMDLINE="console=ttySAC2,115200 loglevel=8 androidboot.hardware=smdk4x12 androidboot.selinux=permissive enforcing=0"
+CONFIG_CMDLINE="root=PARTLABEL=SYSTEM init=/init rootwait console=ttySAC2,115200 loglevel=8 androidboot.hardware=smdk4x12 androidboot.selinux=permissive enforcing=0"
CONFIG_CMDLINE_FORCE=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_STAT=y
diff --git a/arch/arm/configs/replicant_i9305_defconfig b/arch/arm/configs/replicant_i9305_defconfig
index 468b313..bdc07bb 100644
--- a/arch/arm/configs/replicant_i9305_defconfig
+++ b/arch/arm/configs/replicant_i9305_defconfig
@@ -44,7 +44,7 @@ CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND=y
-CONFIG_CMDLINE="console=ttySAC2,115200 loglevel=8 androidboot.hardware=smdk4x12 androidboot.selinux=permissive enforcing=0"
+CONFIG_CMDLINE="root=PARTLABEL=SYSTEM init=/init rootwait console=ttySAC2,115200 loglevel=8 androidboot.hardware=smdk4x12 androidboot.selinux=permissive enforcing=0"
CONFIG_CMDLINE_FORCE=y
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_STAT=y