lp:~kleber-souza/ubuntu/+source/linux-snap/+git/bionic

Get this repository:
git clone https://git.launchpad.net/~kleber-souza/ubuntu/+source/linux-snap/+git/bionic
Only Kleber Sacilotto de Souza can upload to this repository. If you are Kleber Sacilotto de Souza please log in for upload directions.

Branches

Name Last Modified Last Commit
snapdragon 2018-07-06 16:31:32 UTC
test breakage: old version

Author: Kleber Sacilotto de Souza
Author Date: 2018-07-06 16:31:32 UTC

test breakage: old version

Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>

pc 2018-07-06 15:51:48 UTC
test breakage: old version number

Author: Kleber Sacilotto de Souza
Author Date: 2018-07-06 15:51:48 UTC

test breakage: old version number

Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>

master 2018-07-06 15:33:53 UTC
deb to snap: improve check for version mismatch

Author: Kleber Sacilotto de Souza
Author Date: 2018-07-06 08:46:25 UTC

deb to snap: improve check for version mismatch

Currently the kernel snap build succeeds if the kernel version requested
on the snapcraft.yaml file doesn't have the same ABI version as the
latest kernel on the repository. The script blows at the following
point, but the build continues with the wrong package version.

set -e; \
echo ; \
KIMGVER="$(dpkg --root=chroot -l | awk '// {print $3}')"; \
echo $KIMGVER; \
[ ! $KIMGVER ] && echo "Unable to extract KIMGVER, exit" && exit 1; \
if [ $KIMGVER != 4.4.0-129.155 ]; then \
  echo "Version mismatch:\nInstalled: $KIMGVER Requested: 4.4.0-129.155"; \
  exit 1; \
fi; \
}

/bin/sh: 6: [: (Status,Err:: unexpected operator
/bin/sh: 7: [: (Status,Err:: unexpected operator

That's caused by the fact that we install the kernel package using the
meta package name provided, which always pulls the latest version from
the repo, and we use the ABI number provided to query the binary package
name installed, which will return an empty string if the ABI doesn't
match. The check works if only the build number is different though.

Fix it by checking the contents of the KIMGDEB variable before using it
to check if the whole package version matches.

Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>

pc-kleber 2018-07-05 14:02:55 UTC
foobar

Author: Kleber Sacilotto de Souza
Author Date: 2018-07-05 14:02:55 UTC

foobar

Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>

14 of 4 results
This repository contains Public information 
Everyone can see this information.