Hi,
I am testing ubuntu core 18 in an x86VM by simply re- complying the standard amd64 gadget and kernel18 gadget.
When I boot the image on x86 box via VM, the image prints the below error and allows to “press enter to configure”
/usr/share/subiquity/console-conf-wrapper: line 13: snap: command not found
"
Press enter to configure.
Mounting Make the snapd snap tooling available for the system…
[ OK ] Mounted Make the snapd snap tooling available for the system.
Starting Wait until snapd is fully seeded…
Starting Automatically repair incor…ner/permissions on core devices…
[ OK ] Started Automatically repair incorr…owner/permissions on core devices.
[ OK ] Started Timer to automatically fetch and run repair assertions.
Starting Socket activation for snappy daemon.
[ OK ] Listening on Socket activation for snappy daemon.
Starting Snappy daemon…
[ OK ] Started Snappy daemon.
[ OK ] Stopped Snappy daemon.
Starting Snappy daemon…
[ OK ] Stopped Getty on tty1.
[ OK ] Started Getty on tty1.
[ OK ] Stopped Serial Getty on ttyS0.
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Closed /tmp/tmp.IcVlRJ85bQ/usr/lib/snapd/snapd.
[ OK ] Started Snappy daemon.
2019-08-01T10:07:03Z INFO Waiting for restart…
Mount snap “core18” (1066) | Mounting Mount unit for core18, revision 1066…
Mount snap “core18” (1066) -[ OK ] Mounted Mount unit for core18, revision 1066.
Mount snap “core18” (1066) \ Unmounting Make the snapd snap tooling available for the system…
[ OK ] Unmounted Make the snapd snap tooling available for the system.
[ OK ] Started Start the snapd services from the snapd snap.
[ OK ] Started Ubuntu Core Firstboot Configuration ttyS0.
[ OK ] Started Ubuntu Core Firstboot Configuration tty1.
/usr/share/subiquity/console-conf-wrapper: line 13: snap: command not found
Press enter to configure.
Thereafter it is constantly printing the error “snap: command not found” on every attempt to network login and doesn’t allow to connect
The Seed.manifest of the image is
pc-kernel x1
core18 1066
9004gadget x1
snapd 3646
The gadget snapcraft.yaml is
type: gadget
base: core18
summary: PC gadget for generic devices
description: |
This gadget enables generic pc devices to work with Ubuntu Core
grade: stable
confinement: strict
icon: icon.png
parts:
grub-prepare:
plugin: nil
stage-packages:
- grub-efi-amd64-signed
- grub-pc-bin
- shim-signed
prime: [ -* ]
grub:
source: .
build-packages:
- grub-common
plugin: make
after: [grub-prepare]
Kernel Snapcraft.yaml is
version: git
version-script: |
. debian/debian.env
dpkg-parsechangelog -l $DEBIAN/changelog -S version
summary: The Ubuntu generic Linux kernel
description: This aruba version of Ubuntu generic Linux kernel
grade: stable
confinement: strict
type: kernel
base: core18
parts:
kernel:
plugin: kernel
source: .
source-type: git
kconfigflavour: generic
kconfigs:
- CONFIG_DEBUG_INFO=n
override-build: |
cp debian/scripts/retpoline-extract-one \
$SNAPCRAFT_PART_BUILD/scripts/ubuntu-retpoline-extract-one
snapcraftctl build
kernel-with-firmware: false
firmware:
plugin: nil
stage-packages:
- linux-firmware
organize:
lib/firmware: firmware
prime:
- -usr
- -lib
build-packages:
- cpio
- libssl-dev
Build Infra
ubuntu 16.04
Thanks and regards,
Muthiah