From a667218fa6f917227adbbadaffe02cad4f05d232 Mon Sep 17 00:00:00 2001
From: Hendra Manudinata <manoedinata@gmail.com>
Date: Mon, 23 Dec 2024 20:10:45 +0700
Subject: [PATCH] device-samsung-j4lte: remove unneeded kernel cmdline (MR
 5936)

postmarketOS does not utilize SELinux. Besides, Samsung bootloader will
ignore cmdline from the boot image, anyway.
---
 device/testing/device-samsung-j4lte/APKBUILD   | 2 +-
 device/testing/device-samsung-j4lte/deviceinfo | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/device/testing/device-samsung-j4lte/APKBUILD b/device/testing/device-samsung-j4lte/APKBUILD
index 7d348a4001a..d6b159f45b3 100644
--- a/device/testing/device-samsung-j4lte/APKBUILD
+++ b/device/testing/device-samsung-j4lte/APKBUILD
@@ -36,5 +36,5 @@ nonfree_firmware() {
 }
 
 sha512sums="
-67c130d3a70b5905d50586dd341a999cff954a80eea6e0517907a463e9711aca24cf5a1265fd8ecfacfc62010866aa0cb6d648c1f663b6c87e791072d3c00f34  deviceinfo
+6cd6bd78a3dd54505bbf4936a7496a295f2e22f703267dcab7cd6d1c5872de77a49bfc4a9012fa50691b559cc76842497ac472662a2558aee2f217999a21f25e  deviceinfo
 "
diff --git a/device/testing/device-samsung-j4lte/deviceinfo b/device/testing/device-samsung-j4lte/deviceinfo
index 752eb829c19..09cf3e64f59 100644
--- a/device/testing/device-samsung-j4lte/deviceinfo
+++ b/device/testing/device-samsung-j4lte/deviceinfo
@@ -15,7 +15,6 @@ deviceinfo_external_storage="true"
 
 # Bootloader related
 deviceinfo_flash_method="heimdall-bootimg"
-deviceinfo_kernel_cmdline="androidboot.selinux=permissive androidboot.selinux=permissive"
 deviceinfo_generate_bootimg="true"
 deviceinfo_bootimg_qcdt="true"
 deviceinfo_flash_pagesize="2048"
-- 
GitLab