summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorManuel Bentele2021-05-04 08:50:34 +0200
committerManuel Bentele2021-05-04 08:50:34 +0200
commitbf9fe604847991ad029980703a6c72b8a309b5a1 (patch)
treeb176f35268589bc2e9f1679159e0cf672bc2ea15 /pom.xml
parentFix errors in Javadoc comments (diff)
downloadmaster-sync-shared-bf9fe604847991ad029980703a6c72b8a309b5a1.tar.gz
master-sync-shared-bf9fe604847991ad029980703a6c72b8a309b5a1.tar.xz
master-sync-shared-bf9fe604847991ad029980703a6c72b8a309b5a1.zip
Add libosinfo database and validation schema files for Libvirt
The libosinfo database consists of a single XML file aggreated from the original libosinfo database which is split accross multiple XML files. The aggregation is achieved by the following commands where the original data base files are located under /usr/share/osinfo/os: FILES=(/usr/share/osinfo/os/**/*.xml) START="$(sed -n '/^<libosinfo version=/,/>$/p' "${FILES[0]}")" END="</libosinfo>" for FILE in "${FILES[@]}"; do CONTENT+="$(sed -n '/<os/,/<\/os>/p' "${FILE}")"$'\n' done echo -e "${START}\n${CONTENT}${END}" > \ src/main/resources/libvirt/libosinfo/xml/osinfo.xml
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions