Skip to content

Instantly share code, notes, and snippets.

@colbygk
Created October 9, 2010 03:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colbygk/617852 to your computer and use it in GitHub Desktop.
Save colbygk/617852 to your computer and use it in GitHub Desktop.
test-ata:~/inst/ATA_openSUSE_11.3_64bit.x86_64-0.0.3.iso-kiwi_src # ./create_appliance.sh
'kiwi-4.43-112.1' expected, but 'kiwi-4.43-1.6.x86_64' found.
Continue? [y/n] y
** Checking for internal repositories...
** Fetching boot profiles...
Using default boot profile
Using default boot kernel
** Creating custom boot image (initrd)...
rm -rf bootbuild/root bootimage/initrd
mkdir -p bootbuild bootimage/initrd
/usr/sbin/kiwi --prepare bootsource --root bootbuild/root --logfile boot-prepare.log
Oct-08 19:51:32 <1> : Setting log file to: boot-prepare.log
/usr/sbin/kiwi --create bootbuild/root -d bootimage/initrd --logfile boot-create.log
Oct-08 20:00:20 <1> : Setting log file to: boot-create.log
** Creating appliance...
rm -rf build/root
mkdir -p build image
/usr/sbin/kiwi --prepare source --root build/root --logfile prepare.log
Oct-08 20:00:58 <1> : Setting log file to: prepare.log
[*** log excerpt follows, last significant bytes ***]
Oct-08 20:00:58 <1> : Setting log file to: prepare.log
Oct-08 20:00:58 <1> : Reading image description [Prepare]...
Oct-08 20:00:58 <1> : EXEC [uname -m]
Oct-08 20:00:58 <3> : Schema validation failed failed
Oct-08 20:00:58 <1> : EXEC [which jing 2>&1]
Oct-08 20:00:58 <1> : warning: jing not found
Oct-08 20:00:58 <3> : unknown-24f2dd0:0: Relax-NG validity error : Invalid attribute patternPackageType for element packages
Relax-NG validity error : Extra element packages in interleave
unknown-24f2dd0:0: Relax-NG validity error : Element image failed to validate content
Oct-08 20:00:58 <1> : Use the jing command for more details
Oct-08 20:00:58 <1> : The following requires jing to be installed
Oct-08 20:00:58 <1> : jing /usr/share/kiwi/modules/KIWISchema.rng source/config.xml
[*** end ***]
** Appliance creation failed!
Recover config.xml files? [y/n] y
See prepare.log for details.
test-ata:~/inst/ATA_openSUSE_11.3_64bit.x86_64-0.0.3.iso-kiwi_src # cat prepare.log
Oct-08 20:00:58 <1> : Setting log file to: prepare.log
Oct-08 20:00:58 <1> : Reading image description [Prepare]...
Oct-08 20:00:58 <1> : EXEC [uname -m]
Oct-08 20:00:58 <3> : Schema validation failed failed
Oct-08 20:00:58 <1> : EXEC [which jing 2>&1]
Oct-08 20:00:58 <1> : warning: jing not found
Oct-08 20:00:58 <3> : unknown-24f2dd0:0: Relax-NG validity error : Invalid attribute patternPackageType for element packages
Relax-NG validity error : Extra element packages in interleave
unknown-24f2dd0:0: Relax-NG validity error : Element image failed to validate content
Oct-08 20:00:58 <1> : Use the jing command for more details
Oct-08 20:00:58 <1> : The following requires jing to be installed
Oct-08 20:00:58 <1> : jing /usr/share/kiwi/modules/KIWISchema.rng source/config.xml
test-ata:~/inst/ATA_openSUSE_11.3_64bit.x86_64-0.0.3.iso-kiwi_src # jing /usr/share/kiwi/modules/KIWISchema.rng source/config.xml
/root/inst/ATA_openSUSE_11.3_64bit.x86_64-0.0.3.iso-kiwi_src/source/config.xml:3:59: error: attribute "schemeversion" not allowed here; expected attribute "displayname", "id", "inherit", "kiwirevision", "ns:noNamespaceSchemaLocation", "ns:schemaLocation" or "schemaversion" (with xmlns:ns="http://www.w3.org/2001/XMLSchema-instance")
/root/inst/ATA_openSUSE_11.3_64bit.x86_64-0.0.3.iso-kiwi_src/source/config.xml:3:59: error: element "image" missing required attribute "schemaversion"
/root/inst/ATA_openSUSE_11.3_64bit.x86_64-0.0.3.iso-kiwi_src/source/config.xml:10:87: error: element "type" missing required attribute "image"
/root/inst/ATA_openSUSE_11.3_64bit.x86_64-0.0.3.iso-kiwi_src/source/config.xml:10:92: error: text not allowed here; expected the element end-tag or element "ec2config", "lvmvolumes", "oemconfig", "pxedeploy", "size", "split", "vmwareconfig" or "xenconfig"
/root/inst/ATA_openSUSE_11.3_64bit.x86_64-0.0.3.iso-kiwi_src/source/config.xml:13:55: error: character content of element "rpm-check-signatures" invalid; must be a boolean
/root/inst/ATA_openSUSE_11.3_64bit.x86_64-0.0.3.iso-kiwi_src/source/config.xml:14:33: error: character content of element "rpm-force" invalid; must be a boolean
/root/inst/ATA_openSUSE_11.3_64bit.x86_64-0.0.3.iso-kiwi_src/source/config.xml:20:10: error: element "split" not allowed here; expected element "drivers", "instsource", "packages", "preferences", "profiles", "repository" or "users"
/root/inst/ATA_openSUSE_11.3_64bit.x86_64-0.0.3.iso-kiwi_src/source/config.xml:32:87: error: attribute "patternPackageType" not allowed here; expected attribute "profiles"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment