diff --git a/apertis-image-uboot.yaml b/apertis-image-uboot.yaml
index ce00e100d9685854f245f176ba65fc7677e63e11..3ddfdbcac6fac6d17b7cc5eb6b0419abe63b5c86 100644
--- a/apertis-image-uboot.yaml
+++ b/apertis-image-uboot.yaml
@@ -75,13 +75,10 @@ actions:
         end: -4M
 
   - action: filesystem-deploy
+    setup-kernel-cmdline: true
+    append-kernel-cmdline: $cmdline
     description: Deploying ospack onto image
 
-  - action: run
-    description: Add kernel parameters
-    chroot: true
-    command: sed -i '1 s/$/{{ $cmdline }}/' /etc/kernel/cmdline
-
   - action: apt
     description: Kernel and system packages
     packages: