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:
parent
c82977e9b6
commit
c604091fc6
|
|
@ -10,7 +10,7 @@ do_install_append() {
|
|||
install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/
|
||||
}
|
||||
|
||||
pkg_postinst_ontarget_${PN}_ccimx6() {
|
||||
pkg_postinst_ontarget_${PN}() {
|
||||
get_emmc_block_device() {
|
||||
emmc_number="$(sed -ne 's,.*mmcblk\(.\)boot0.*,\1,g;T;p' /proc/partitions)"
|
||||
if [ -b "/dev/mmcblk${emmc_number}" ] &&
|
||||
|
|
|
|||
Loading…
Reference in New Issue