base-files: remove platform dependency to execute the postinst function

Removed the platform dependency to apply the resize to all platforms.

https://jira.digi.com/browse/DEL-6609

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2019-05-16 16:13:33 +02:00
parent 83e5335a2e
commit 1fe9ca04c2
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ do_install_append() {
install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/ install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/
} }
pkg_postinst_ontarget_${PN}_ccimx6() { pkg_postinst_ontarget_${PN}() {
get_emmc_block_device() { get_emmc_block_device() {
emmc_number="$(sed -ne 's,.*mmcblk\(.\)boot0.*,\1,g;T;p' /proc/partitions)" emmc_number="$(sed -ne 's,.*mmcblk\(.\)boot0.*,\1,g;T;p' /proc/partitions)"
if [ -b "/dev/mmcblk${emmc_number}" ] && if [ -b "/dev/mmcblk${emmc_number}" ] &&