Skip to content

Commit

Permalink
enact-dev-native=v1.0.11
Browse files Browse the repository at this point in the history
:Release Notes:
Stability improvements in building Enact apps.

:Detailed Notes:
* Updated enact-dev-native revision fixing "write after end" error
* Modified webos_enactjs_app.bbclass to use mv rather than cp to
  avoid random cp write errors.

enact-dev-native 1.0.10..1.0.11:
181594c63 pacote: bugfix address "write after end" issue
          zkat/pacote#151

:Testing Performed:
Verf built

:QA Notes:
Does not change app output; purely fixes to improve reliability

:Issues Addressed:
[ENYO-5541] NPM "write after end" error randomly occurs
[PLAT-65311] OSE: enact apps failing in do_install with "cp: write
             error"
[PLAT-65567] [OSE] CCC: enact-dev-native=v1.0.11
  • Loading branch information
JayCanuck authored and Minjae Kim committed Sep 20, 2018
1 parent 086bb15 commit d240567
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions meta-webos/classes/webos_enactjs_app.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,15 @@ do_install() {
if [ ! -z "${WEBOS_ENACTJS_PACK_OVERRIDE}" ] ; then
bbnote "Custom App Build for ${WEBOS_ENACTJS_APP_ID}"
${WEBOS_ENACTJS_PACK_OVERRIDE}
cp -R --no-dereference --preserve=mode,links -v ./dist/* "${appdir}"
mv -f -v ./dist/* "${appdir}"
else
# Normal App Build
bbnote "Bundling Enact app to ${appdir}"
${ENACT_DEV} pack ${WEBOS_ENACTJS_PACK_OPTS} -o "${appdir}" --verbose
if [ -f ${appdir}/snapshot_blob.bin ] ; then
chown root:root "${appdir}/snapshot_blob.bin"
fi
fi

if [ -f ${appdir}/snapshot_blob.bin ] ; then
chown root:root "${appdir}/snapshot_blob.bin"
fi

cd ${working}
Expand Down
4 changes: 2 additions & 2 deletions meta-webos/recipes-webos/enact-dev/enact-dev-native.bb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ do_fetch[vardeps] += "SRCREV"
# tag whose hash is specified in SRCREV, so PV and SRCREV will always change
# together.

PV = "1.0.10"
SRCREV = "398a2b9d8165baa2dea07a3eae74c4edab59f6f8"
PV = "1.0.11"
SRCREV = "cfb0ba4fea5266c58afdb4c97d4328e83e5440a8"

# Skip unneeded tasks
do_configure[noexec] = "1"
Expand Down

0 comments on commit d240567

Please sign in to comment.