mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Use the new module database infrastructure.
This commit is contained in:
@@ -58,7 +58,7 @@ if __name__ == "__main__":
|
||||
ModuleGenerator.main(globals().copy())
|
||||
|
||||
# Make sure the manifest gets regenerated.
|
||||
os.system("rm -rf %s/make/module-manifest.mk" % ROOT)
|
||||
os.system("rm -rf %s/make/modules/modules*" % ROOT)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2,14 +2,11 @@
|
||||
############################################################
|
||||
#
|
||||
# Every time a merge is performed we should invalidate
|
||||
# the module manifest.
|
||||
# the module data.
|
||||
#
|
||||
############################################################
|
||||
mm="$GIT_DIR/../make/module-manifest.mk"
|
||||
|
||||
if [ -f "$mm" ]; then
|
||||
echo "Removing module manifest after merge..."
|
||||
rm "$mm"
|
||||
fi
|
||||
echo "Removing module data after merge..."
|
||||
rm -rf "$GIT_DIR/../make/modules/modules*"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
############################################################
|
||||
|
||||
# Removing the manifest causes it to be regenerated.
|
||||
rm -rf $ONL/make/module-manifest.mk
|
||||
rm -rf $ONL/make/modules/module*
|
||||
|
||||
# Rebuild pkg cache
|
||||
onlpm.py --rebuild-pkg-cache
|
||||
|
||||
Reference in New Issue
Block a user