mirror of
				https://gitea.osmocom.org/cellular-infrastructure/osmo-hlr.git
				synced 2025-11-03 21:53:30 +00:00 
			
		
		
		
	sql/Makefile: Create empty /var/lib/osmocom directory at install time
Otherwise osmo-hlr is unable to start correctly. Change-Id: I1233fc9b3dc685561f79a34e1c32c459dc1aa685
This commit is contained in:
		
							
								
								
									
										1
									
								
								debian/osmo-hlr.install
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								debian/osmo-hlr.install
									
									
									
									
										vendored
									
									
								
							@@ -3,3 +3,4 @@
 | 
			
		||||
/usr/share/doc/osmo-hlr/sql/hlr.sql
 | 
			
		||||
/usr/share/doc/osmo-hlr/sql/hlr_data.sql
 | 
			
		||||
/usr/share/doc/osmo-hlr/examples/osmo-hlr.cfg
 | 
			
		||||
/var/lib/osmocom
 | 
			
		||||
 
 | 
			
		||||
@@ -5,3 +5,10 @@ EXTRA_DIST = \
 | 
			
		||||
 | 
			
		||||
sqldir = $(docdir)/sql
 | 
			
		||||
sql_DATA = $(srcdir)/hlr.sql $(srcdir)/hlr_data.sql
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
install-data-local:
 | 
			
		||||
	$(MKDIR_P) $(DESTDIR)$(localstatedir)/lib/osmocom
 | 
			
		||||
 | 
			
		||||
uninstall-hook:
 | 
			
		||||
	rm -rf $(DESTDIR)$(localstatedir)/lib/osmocom
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user