Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-integ / recipes-devtools / grubby / files / 1002-Install-into-libdir-instead-of-hard-coding.patch
1 diff --git a/Makefile b/Makefile
2 index 7436c1c..91a4fd1 100644
3 --- a/Makefile
4 +++ b/Makefile
5 @@ -56,9 +56,9 @@ install: all
6                 install -m 755 grubby $(DESTDIR)$(PREFIX)/sbin ; \
7                 install -m 644 grubby.8 $(DESTDIR)/$(mandir)/man8 ; \
8         fi
9 -       mkdir -p $(DESTDIR)/usr/lib64/python2.7/site-packages/grubby
10 -       install -m 644 grub_cfg_update.py $(DESTDIR)/usr/lib64/python2.7/site-packages/grubby/grub_cfg_update.py
11 -       install -m 644 __init__.py $(DESTDIR)/usr/lib64/python2.7/site-packages/grubby/__init__.py
12 +       mkdir -p $(DESTDIR)/$(libdir)/python2.7/site-packages/grubby
13 +       install -m 644 grub_cfg_update.py $(DESTDIR)/$(libdir)/python2.7/site-packages/grubby/grub_cfg_update.py
14 +       install -m 644 __init__.py $(DESTDIR)/$(libdir)/python2.7/site-packages/grubby/__init__.py
15         install -m 500 grub-cfg-update $(DESTDIR)$(PREFIX)/sbin/grub-cfg-update
16  
17