diff --git a/build.sh b/build.sh index aa282af..a8bd6e7 100755 --- a/build.sh +++ b/build.sh @@ -336,6 +336,7 @@ case "${pkgtype}" in echo "Replace all chinese character." chmod +x ${DebBuildDir}/usr/local/omc/bin sed -i "s/YYYYMMDD/${RelDate}/g" ${DebBuildDir}/DEBIAN/control + sed -i "s/Architecture: amd64/Architecture: ${RelArch}/g" ${DebBuildDir}/DEBIAN/control perl -0777 -i -pe 's/ne:\n user: root/ne:\n user: omcuser/g' ${DebBuildDir}/usr/local/omc/etc/default/restconf.yaml dpkg -b ${DebBuildDir} ${ReleasePkgDir}/${DebPkgFile}