Merge pull request #1243 from friberk/master

baselayout, fuse rebuild
This commit is contained in:
Kamil ATLI
2021-06-13 16:54:49 +03:00
committed by GitHub
5 changed files with 54 additions and 20 deletions
+13 -4
View File
@@ -19,15 +19,24 @@ def install():
# Install everything # Install everything
pisitools.insinto("/", "root/*") pisitools.insinto("/", "root/*")
# Install baselayout utilities # Install baselayout utilities
shelltools.cd("src/") shelltools.cd("src/")
autotools.rawInstall('DESTDIR="%s"' % get.installDIR()) autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
shelltools.system("ls")
# Dirty fix for now... (especially for flatpak)
shelltools.system("mv %s/run/* %s/dev" % (get.installDIR(), get.installDIR()))
pisitools.remove("/var/lock")
# shelltools.cd("%s/var" % get.installDIR())
shelltools.system("ln -rs %s/dev/lock %s/var/lock" % (get.installDIR(), get.installDIR()))
# shelltools.cd("%s/baselayout/src" % get.workDIR())
# Adjust permissions # Adjust permissions
chmod("/tmp", 01777) chmod("/tmp", 01777)
chmod("/var/tmp", 01777) chmod("/var/tmp", 01777)
chmod("/run/shm", 01777) chmod("/dev/shm", 01777)
chmod("/var/lock", 0775) chmod("/var/lock", 0775)
chmod("/usr/share/baselayout/shadow", 0600) chmod("/usr/share/baselayout/shadow", 0600)
@@ -40,6 +49,6 @@ def install():
pisitools.dosym("lib", "/lib64") pisitools.dosym("lib", "/lib64")
pisitools.dosym("pisilinux-release", "/etc/system-release") pisitools.dosym("pisilinux-release", "/etc/system-release")
#File conflicts: #File conflicts:
pisitools.removeDir("/usr/share/man/man4") pisitools.removeDir("/usr/share/man/man4")
+2 -2
View File
@@ -2,6 +2,6 @@ f /run/utmp 0664 root utmp
d /run/lock 0755 root lock d /run/lock 0755 root lock
d /run/lock/subsys 0755 root root d /run/lock/subsys 0755 root root
d /run/pisilinux 0755 root root d /run/pisilinux 0755 root root
d /run/shm 1777 root root d /dev/shm 1777 root root
L /dev/shm - - - - /run/shm L /run/shm - - - - /dev/shm
d /run/user 0755 root root d /run/user 0755 root root
+7
View File
@@ -70,6 +70,13 @@
</Package> </Package>
<History> <History>
<Update release="14">
<Date>2021-06-09</Date>
<Version>3.10.1</Version>
<Comment>Rebuild</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
<Update release="13"> <Update release="13">
<Date>2021-02-12</Date> <Date>2021-02-12</Date>
<Version>3.10.1</Version> <Version>3.10.1</Version>
+22 -11
View File
@@ -9,18 +9,18 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
def setup(): def setup():
shelltools.export("MOUNT_FUSE_PATH", "/usr/bin")
shelltools.system("sh makeconf.sh") shelltools.system("sh makeconf.sh")
# Disable device node creation during build/install # Disable device node creation during build/install
pisitools.dosed("util/Makefile.in", "mknod", "echo Disabled: mknod ") # pisitools.dosed("util/Makefile.in", "mknod", "echo Disabled: mknod ")
autotools.configure("--prefix=/usr \
autotools.configure("--disable-static \ --libdir=/usr/lib \
--disable-rpath \
--enable-lib \ --enable-lib \
--enable-util \ --enable-util \
--exec-prefix=/ \ --disable-example \
--bindir=/bin") --disable-static")
def build(): def build():
autotools.make() autotools.make()
@@ -28,14 +28,25 @@ def build():
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodir("/lib")
pisitools.domove("/usr/lib/libfuse.so.*", "/lib/")
shelltools.system("ln -sfv %s/lib/libfuse.so.%s %s/usr/lib/libfuse.so" % (get.installDIR(), get.srcVERSION(), get.installDIR()))
shelltools.system("install -v -m755 -d %s/usr/share/doc/fuse-%s" % (get.installDIR(), get.srcVERSION()))
shelltools.system("install -v -m644 doc/kernel.txt %s/usr/share/doc/fuse" % get.installDIR())
# shelltools.system("cp -Rv doc/html %s/usr/share/doc/fuse-%s" % (get.installDIR(), get.srcVERSION()))
pisitools.remove("/usr/lib/libfuse.la")
pisitools.remove("/usr/lib/libulockmgr.la")
pisitools.removeDir("/dev") pisitools.removeDir("/dev")
pisitools.removeDir("/etc") # pisitools.removeDir("/etc")
# Make compat symlinks into /usr/bin # Make compat symlinks into /usr/bin
pisitools.dosym("/bin/fusermount", "/usr/bin/fusermount") # pisitools.dosym("/bin/fusermount", "/usr/bin/fusermount")
pisitools.dosym("/bin/ulockmgr_server", "/usr/bin/ulockmgr_server") # pisitools.dosym("/bin/ulockmgr_server", "/usr/bin/ulockmgr_server")
# Move pkgconfig file to /usr/lib # Move pkgconfig file to /usr/lib
pisitools.domove("/lib/pkgconfig", "/usr/lib/") # pisitools.domove("/lib/pkgconfig", "/usr/lib/")
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README.NFS") pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README.NFS")
+10 -3
View File
@@ -17,7 +17,7 @@
<Dependency>gettext-devel</Dependency> <Dependency>gettext-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
<Patch>skip_umount_test.patch</Patch> <!--Patch>skip_umount_test.patch</Patch-->
</Patches> </Patches>
</Source> </Source>
@@ -27,10 +27,10 @@
<Dependency>glibc</Dependency> <Dependency>glibc</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="executable">/bin</Path> <Path fileType="data">/etc</Path>
<Path fileType="executable">/sbin</Path>
<Path fileType="executable">/usr/bin</Path> <Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/lib</Path> <Path fileType="library">/lib</Path>
<Path fileType="library">/usr/lib/lib*.so*</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path> <Path fileType="man">/usr/share/man</Path>
</Files> </Files>
@@ -50,6 +50,13 @@
</Package> </Package>
<History> <History>
<Update release="6">
<Date>2021-06-09</Date>
<Version>2.9.9</Version>
<Comment>Rebuild.</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
<Update release="6"> <Update release="6">
<Date>2020-12-09</Date> <Date>2020-12-09</Date>
<Version>2.9.9</Version> <Version>2.9.9</Version>