Tiny Core Linux
dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => dCore x86 Imported Extensions => Topic started by: jls on February 25, 2015, 08:14:06 AM
-
Hi
I've tried to install vim-gtk and the postinst script uses update-alternatives to create the gvim executable, but update-alternatives needs the directory /var/lib/dpkg/alternatives, so I created it and the gvim file is created.
I placed
mkdir /var/lib/dpkg/alternatives
in /opt/bootlocal.sh
-
Hi Jason & the others
actually it doesn't work, I've also tried to put var/lib/dpkg/alternatives in filetool.lst, but nothing, the gvim bimary is not created, but if I put
/usr/local/tce.installed/vim-gtk
in bootlocal it works.
PS. update-aletnatives already exists since it's in my base sce which is installed before vim-gtk.sce
-
Hi again
Now I understand, both bootlocal.sh & mydata are processed after tce-setup so I propose to include /var/lib/dpkg/alternatives in the initrd.
Good weekend to you all
-
Thanks, I will look into it.
-
Good find, simply creating the /var/lib/dpkg/alternatives directory lets the update-alternatives work. This will help make a lot of packages get set up right. I will add the dir and upload to release candidates now.