jenkins/ramdisk: removed additional directory in deploy dir

there is no difference between lava and minimal image regarding
content of the deploy dir. The difference is made on the build
directory itself

Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
Marc Mattmueller 2021-08-03 09:50:50 +02:00
parent e592e847b2
commit 1999738798
1 changed files with 1 additions and 7 deletions

View File

@ -143,13 +143,7 @@ def createArchive(imgType, outputDir) {
cp \$LATEST_LICENSE_DIR/license.manifest ${basename_archive}_license.manifest cp \$LATEST_LICENSE_DIR/license.manifest ${basename_archive}_license.manifest
""" """
if(imgType == "minimal") { sh "cp ${env.YOCTO_DEPLOYS}/fitImage-${image_basename}-${params.MACHINE} fitImage-${image_basename}"
sh "cp ${env.YOCTO_DEPLOYS}/initramfs-linux/fitImage-${image_basename}-${params.MACHINE} fitImage-${image_basename}"
}
else {
sh "cp ${env.YOCTO_DEPLOYS}/fct-linux/fitImage-${image_basename}-${params.MACHINE} fitImage-${image_basename}"
}
sh "cp ${basename_built}.tar.gz ${basename_archive}.tar.gz" sh "cp ${basename_built}.tar.gz ${basename_archive}.tar.gz"
} }
} }