• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libfreeimage/0001-no-root-install.patch
Rémi RérolleRémi Rérolle committed cbb5177a18413 Apr 2015
Raw file
Source viewDiff to previous
 
1
Makefile.gnu: allow non-root install by not enforcing root ownserhip
2
​
3
Signed-off-by: Rémi Rérolle <remi.rerolle@gmail.com>
4
​
5
diff -ruN a/Makefile.gnu b/Makefile.gnu
6
--- a/Makefile.gnu  2015-04-09 16:34:02.315316841 +0200
7
+++ b/Makefile.gnu  2015-04-09 16:34:28.875483201 +0200
8
@@ -71,9 +71,9 @@
9
 
10
 install:
11
    install -d $(INCDIR) $(INSTALLDIR)
12
-   install -m 644 -o root -g root $(HEADER) $(INCDIR)
13
-   install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)
14
-   install -m 755 -o root -g root $(SHAREDLIB) $(INSTALLDIR)
15
+   install -m 644 $(HEADER) $(INCDIR)
16
+   install -m 644 $(STATICLIB) $(INSTALLDIR)
17
+   install -m 755 $(SHAREDLIB) $(INSTALLDIR)
18
    ln -sf $(SHAREDLIB) $(INSTALLDIR)/$(VERLIBNAME)
19
    ln -sf $(VERLIBNAME) $(INSTALLDIR)/$(LIBNAME)   
20
 #  ldconfig
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.