issue generating snappy image

Yann Sionneau yann.sionneau at parrot.com
Thu Mar 24 16:47:32 UTC 2016


Hi,

I'm trying to generate a snappy image and it fails, I tried to strace it
but I'm a bit flooded by the strace logs and don't understand what's
going wrong.

yann at imperium:~/dev/snappy/1604/packages/images$ sudo 
./ubuntu-device-flash -v core -o paros.img
--gadget=$PWD/../paros_gadget/paros_1.0_all.snap
--kernel=$PWD/../paros_kernel/paros-kernel_3.10.67_arm64.snap 
--os=../../xenial-preinstalled-core-armhf.os.snap  rolling
Determining gadget configuration
Partitioning...
Formatting...
Mounting...
Provisioning...
Installing
/home/yann/dev/snappy/1604/packages/images/../paros_gadget/paros_1.0_all.snap
Unmounting...
*/home/yann/dev/snappy/1604/packages/images/../paros_gadget/paros_1.0_all.snap
failed to install: exit status 2**
*
yann at imperium:~/dev/snappy/1604/packages/paros_kernel$ ls
linux-x1  linux.config  paros-kernel_3.10.67_arm64.snap  parts  snap 
snapcraft.yaml  squashfs-root  stage
yann at imperium:~/dev/snappy/1604/packages/paros_kernel$ cat snapcraft.yaml
name: paros-kernel
version: 3.10.67
summary: A Paros kernel built from source
description: This is the reference kernel for Paros
type: kernel

parts:
  kernel:
    plugin: kernel
    source: ./linux-x1
    kconfigfile: ./linux.config
    kconfigs:
      - CONFIG_LOCALVERSION="-paros"
      - CONFIG_DEBUG_INFO=n
      - CONFIG_SQUASHFS=y
    kernel-image-target: Image
    kernel-image-path: arch/arm64/boot/Image
    kernel-device-tree:
      -  tegra210-mk4-hw00
      -  tegra210-paros-hw00
      -  tegra210-paros360-hw00
      -  tegra210-jetson-tx1-p2597-2180-a01-devkit
      -  tegra210-jetson-tx1-mk4
      -  tegra210-jetson-tx1-paros
      -  tegra210-jetson-e-base-p2595-0000-a00
    build-packages: [bc]

yann at imperium:~/dev/snappy/1604/packages/paros_gadget$ find .
.
./uboot.env
./tegra210-paros-hw00.dtb
./meta
./meta/snap.yaml
./paros_1.0_all.snap
yann at imperium:~/dev/snappy/1604/packages/paros_gadget$ cat meta/snap.yaml
name: paros
version: 1.0
summary: Paros support package
description: Support files for booting Paros
type: gadget

branding:
  name: Paros drone

gadget:
  hardware:
    platform: tegra210-paros-hw00
    architecture: armhf
    partition-layout: minimal
    bootloader: u-boot
    boot-assets:
      files:
        - path: uboot.env


Any idea?

Thanks!

-- 
Yann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20160324/dabf9b49/attachment.html>


More information about the snappy-devel mailing list