Created
December 31, 2019 12:30
-
-
Save jfqd/b7e1a969dff3a4ca8c2f24019c525ffe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Our mibe repo with only a few changes for lx-brand mibe-builds: https://github.com/jfqd/mibe | |
| Our base image build: https://github.com/jfqd/mi-qutic-base | |
| An this is how we build the base image: | |
| build_base_image() { | |
| cd /opt/mibe/repos | |
| if [ ! -d /opt/mibe/repos/mi-qutic-base ]; then | |
| /opt/tools/bin/git clone git://github.com/jfqd/mi-qutic-base.git | |
| else | |
| (cd mi-qutic-base; /opt/tools/bin/git pull) | |
| fi | |
| rm /opt/mibe/images/qutic-base-64-* || true | |
| BASE64_IMAGE_UUID=$(imgadm list | grep minimal-64-trunk | tail -1 | awk '{ print $1 }') | |
| TEMPLATE_ZONE_UUID=$(vmadm lookup alias='mibe-template-20191127') | |
| ../bin/build_smartos $BASE64_IMAGE_UUID $TEMPLATE_ZONE_UUID mi-qutic-base && | |
| imgadm install -m /opt/mibe/images/qutic-base-64-*-imgapi.dsmanifest -f /opt/mibe/images/qutic-base-64-*.zfs.gz | |
| } | |
| The "mibe-template-20191127" image is up to date with pkgsrc-trunk (pkgin up, pkgin ug) | |
| And this is the error: | |
| pkg_admin: openssl-1.1.1d: Symlink `/opt/local/man/man1/openssl-c_rehash.1.gz' exists and is in +CONTENTS but target does not exist! | |
| ld.so.1: pkgin: fatal: libcrypto.so.1.0.0: open failed: No such file or directory | |
| /root/customize: line 37: 94243 Killed pkgin -y up | |
| ld.so.1: pkgin: fatal: libcrypto.so.1.0.0: open failed: No such file or directory | |
| /root/customize: line 60: 94276 Killed pkgin update |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zone
mibe-template-20191127was build with image version 20191127minimal-64-trunk(82f637a0-10fd-11ea-a0b6-9b691fd17e86)If I remove pkgin calls from the
customizefile, the image is build by mibe. The following output is from a zone created from this image with a broken pkgin binary.The only solution to fix this issue is to copy the pkgin binary from the template zone to the newly created one, this the missing lib path and do an upgrade:
The question for me is why and where was version 0.13.0 of pkgin installed in this mibe-process?