Manulionix Package Handling

Let's imagine that you just built some package inside Manulionix chroot environment.

...
make[1]: Leaving directory `/root/build-farm/libunistring-v0.9.3.builddir'
-------------------- build done --------------------
No ET_EXECs found to sstrip.
compressing 'libunistring-v0.9.3-powerpc-uclibc.binpkg.tar.bz2'... ok
created binary package: /root/build-farm/PACKAGES/binpkg-powerpc/./libunistring-v0.9.3-powerpc-uclibc.binpkg.tar.bz2
build directory renamed: 'libunistring-v0.9.3.builddir' --> 'libunistring-v0.9.3-powerpc-uclibc.builddir'
removing build directory '/root/build-farm/./libunistring-v0.9.3-powerpc-uclibc.builddir'... ok
++++++++++++++++++++++++++++++++++++++++++++++++++++
libunistring-v0.9.3 (powerpc+uclibc)
packages:
    1695.7 KiB  /root/build-farm/PACKAGES/srcpkg/./libunistring-v0.9.3.srcpkg.tar.bz2
    1590.2 KiB  /root/build-farm/PACKAGES/binpkg-powerpc/./libunistring-v0.9.3-powerpc-uclibc.binpkg.tar.bz2
Done!

Exit the chroot and run collect_new_packages.sh to move new packages to PACKAGES directory inside big system's build farm.

~/build-farm/BUILD-SCRIPTS # ^D
[screen is terminating]
cleaning up...
 ______ 
< Bye! >
 ------ 
       \   ,__,
        \  (oo)____
           (__)    )\
              ||--|| *

[root@localhost mx-chroot]# cd
[root@localhost ~]# ./collect_new_packages.sh 
User: username      Home directory: /home/username
Moving from '/root/mx-chroot/root/build-farm/PACKAGES' to '/home/username/build-farm/PACKAGES':
    /root/mx-chroot/root/build-farm/PACKAGES/srcpkg/libunistring-v0.9.3.srcpkg.tar.bz2
    /root/mx-chroot/root/build-farm/PACKAGES/binpkg-powerpc/libunistring-v0.9.3-powerpc-uclibc.binpkg.tar.bz2
-done-

At the big system's side, run accept_new_packages.sh.

[username@localhost PACKAGES]$ ../SERVICE-SCRIPTS/accept_new_packages.sh 
User: username      Home directory: /home/username
base directory: /home/username/build-farm
packages directory: /home/username/build-farm/PACKAGES
source packages directory: /home/username/build-farm/PACKAGES/srcpkg
binary packages directory: /home/username/build-farm/PACKAGES/binpkg-powerpc
new source packages:
    libunistring (libunistring-v0.9.3.srcpkg.tar.bz2)
        removing existing package(s): ../PACKAGES/srcpkg/libunistring-v0.9.3.srcpkg.tar.bz2 ... ok
        --> ../PACKAGES/srcpkg/libunistring-v0.9.3.srcpkg.tar.bz2
new binary packages:
    libunistring (libunistring-v0.9.3-powerpc-uclibc.binpkg.tar.bz2)
        removing existing package(s): ../PACKAGES/binpkg-powerpc/libunistring-v0.9.3-DEBUG-powerpc-uclibc.binpkg.tar.bz2 ... ok
        removing old package's file list(s): ../PACKAGES/binpkg-powerpc/.FILELISTS/libunistring-v0.9.3-DEBUG-powerpc-uclibc.binpkg.tar.bz2.list ... ok
        --> ../PACKAGES/binpkg-powerpc/libunistring-v0.9.3-powerpc-uclibc.binpkg.tar.bz2
        generating file list... (bzip2 package) libunistring-v0.9.3-powerpc-uclibc.binpkg.tar.bz2.list...  ok
re-generating md5sums... done
Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.