Skip to content

Commit

Permalink
Ensure /var/lib/hardware/udi exists and with 755 permissions
Browse files Browse the repository at this point in the history
We make this fix in Makefile at installation time so that the
directory gets removed upon purging the package and doesn't
linger on.

This fixes any save-config issues one may see on Linux
distributions where the directory doesn't exist by default.

Signed-off-by: Chandni Verma <chandni@linux.vnet.ibm.com>
  • Loading branch information
Chandni Verma committed Jun 21, 2017
1 parent 273ec98 commit 9c64788
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Expand Up @@ -119,6 +119,7 @@ install:
install -m 755 getsysinfo $(DESTDIR)/usr/sbin
install -m 755 src/isdn/cdb/mk_isdnhwdb $(DESTDIR)/usr/sbin
install -d -m 755 $(DESTDIR)/usr/share/hwinfo
install -d -m 755 $(DESTDIR)/var/lib/hardware/udi
install -m 644 src/isdn/cdb/ISDN.CDB.txt $(DESTDIR)/usr/share/hwinfo
install -m 644 src/isdn/cdb/ISDN.CDB.hwdb $(DESTDIR)/usr/share/hwinfo

Expand Down

0 comments on commit 9c64788

Please sign in to comment.