diff options
author | Sona Sarmadi <sona.sarmadi@enea.com> | 2019-04-30 14:36:09 +0200 |
---|---|---|
committer | Adrian Dudau <Adrian.Dudau@enea.com> | 2019-05-07 11:33:20 +0200 |
commit | 5e17177a0d5cb1bf758295a083d7bcb774919b24 (patch) | |
tree | 6ca649572ec204e366b97020133c8f0160557083 /classes | |
parent | 32e07c8c5aedd0442e404ce0d9b3770cabf3c2fb (diff) | |
download | meta-el-nfv-access-5e17177a0d5cb1bf758295a083d7bcb774919b24.tar.gz |
set ramdisk size from kernel config
We have big number of kernel params and at some point
it will be difficult to maintain all kernel boot params.
Change-Id: I51ba9d21e4c041fb7e77d618d7572704715a3a25
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/sota_atom-c3000.bbclass | 2 | ||||
-rw-r--r-- | classes/sota_xeon-d.bbclass | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/sota_atom-c3000.bbclass b/classes/sota_atom-c3000.bbclass index 72af92a..f9b4864 100644 --- a/classes/sota_atom-c3000.bbclass +++ b/classes/sota_atom-c3000.bbclass | |||
@@ -10,4 +10,4 @@ OSTREE_INITRAMFS_FSTYPES ?= "ext4.gz" | |||
10 | ROOTFS_sota = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.otaimg" | 10 | ROOTFS_sota = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.otaimg" |
11 | 11 | ||
12 | # OSTree initrd needs 'ramdisk_size' and 'rw' parameters in order to boot | 12 | # OSTree initrd needs 'ramdisk_size' and 'rw' parameters in order to boot |
13 | OSTREE_KERNEL_ARGS ?= "ramdisk_size=16384 rw" | 13 | OSTREE_KERNEL_ARGS ?= "rw" |
diff --git a/classes/sota_xeon-d.bbclass b/classes/sota_xeon-d.bbclass index 72af92a..f9b4864 100644 --- a/classes/sota_xeon-d.bbclass +++ b/classes/sota_xeon-d.bbclass | |||
@@ -10,4 +10,4 @@ OSTREE_INITRAMFS_FSTYPES ?= "ext4.gz" | |||
10 | ROOTFS_sota = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.otaimg" | 10 | ROOTFS_sota = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.otaimg" |
11 | 11 | ||
12 | # OSTree initrd needs 'ramdisk_size' and 'rw' parameters in order to boot | 12 | # OSTree initrd needs 'ramdisk_size' and 'rw' parameters in order to boot |
13 | OSTREE_KERNEL_ARGS ?= "ramdisk_size=16384 rw" | 13 | OSTREE_KERNEL_ARGS ?= "rw" |