Hi David, thanks for your reply. please find my comments below inline. -Igor
thanks - will check it again soon.
one big update for better understanding - how much changes i did fro builds on DilOS :) and yes - i have plans try to split it and try to upstream what will be possible for better upgrades in next time :)
let me explain here. original OpenSolaris, like illumos, have default shell as /bin/sh -> /bin/ksh KSH93 incompatible with BASH/DASH - we can’t use scripts from APT as is if we have system shell as KSH it is why you can see my changes to use /bin/bash i try to move to use /bin/sh -> /bin/dash on DilOS - as original Debian, but this work still in progress. right now - i have DASH as deafult shell on my DilOS, but, i think, for better portability with others platforms, will be better to use /bin/bash as default shell for APT scripts - to avoid issues with others system shell.
on DilOS, as illumos platform, we have no systemd - we are using SMF Service Management Facility (SMF) like this introduction: it is why you can see removals of systemd definitions on my update.
well, i have plans put it back :) right now - 'useradd' incompatible with Linux/FreeBSD platforms - and i’m working on 'adduser' updates, but it is still in progress
well, i’ll move to use your scheme when i’ll be ready for update of my repo - we can ignore these changes right now.
we have big issues with gcc libstdc++ and locales on illumos platforms - if we try to do the same - we have application crash to core dump. i can see it on SPARC more time. these changes here right now as workaround. i don’t know where is issue - on gcc side or on illumos side - need a time for investigate it much more better for undertanding,
well, this dependency here as workaround - because this old package has been provided /usr/bin/apt file and i need replace it by APT package - please ignore it.
DPKG_ROOT and BASEDIR are slitly different. are you familiar with solaris zones? i have implemented it for bootstrap to another ROOT, like: apt -R <PATH> install mypkg where is: <PATH> = /zones/myzone/root also, it is working fine with new ISO bootstrap like: apt-get -R /path/to/my/new/iso install <list of packages> it will install new packages to new directory where i can do next manupulations for ISO it is working fine if i have list of repos defined at /etc/apt/sources.list - not only one repo as for debootstrap, but i can use list of repos. my changes based on ideas/implementaion of IPS pkg5 package manager: similar to this introduction. it is working like: pkg -R <path> install <list of packages> i have inplemented my changes to be more friendly for guys who wants to try to sue DPKG/APT on DilOS :)
well. Ubuntu = Linux, like Debian on Linux, but DilOS = illumos fork of OpenSolaris) - solaris based platform. and yes - i’d like minimize my own changes in APT for better portability for better upgrades :) and - i’m working on it. right now i try to find solution - how to better detect DilOS as platform. it is NOT solaris, like illumos, but i have additional changes on DilOS what are not available on illumos because they are wants to stay with his own opinion about primary shell and others tools - want are not applicable for Debian. It is why i have my own illumos fork = DilOS - illumos kernel + some tools, but with more Debian userland friendly tools. i want to have DilOS as platform for easy ports of userland applications from Debian upstream and i do updates on platform side for it too, what illumos do not want to do. I hope on cooperation :)
thanks :) also, you are welcome on FreeNode IRC #dilos with questions/updates. also, i can provide DilOS bulid zone if needed - on Intel and SPARC - i try to support 2 platforms. best regards, -Igor |