Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 20 Mar 2019, 19:14
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
TazPuppy Beta 24
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 56 of 57 [847 Posts]   Goto page: Previous 1, 2, 3, ..., 54, 55, 56, 57 Next
Author Message
mistfire

Joined: 04 Nov 2008
Posts: 1078
Location: PH

PostPosted: Wed 20 Feb 2019, 03:14    Post subject:  

@s243a here are the suggested options to fix the issue:
1. try to swap kernel by using the kernel and zdrv file of other puppies
2. check the iron browser dependencies.
3. update the builtin packages
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1408

PostPosted: Fri 22 Feb 2019, 23:57    Post subject:  

mistfire wrote:
@s243a here are the suggested options to fix the issue:
1. try to swap kernel by using the kernel and zdrv file of other puppies
2. check the iron browser dependencies.
3. update the builtin packages


After a bit of investigation it might be a memory issue. The normal puppylinux package manager directly saves to the save-layer. I'm not sure that tazpkg does this.

I'm working on a script to make a suitable chroot environment directly on the USB to run tazpkg. I haven't even started the debugging process yet.

I say that it might be a memory issue because when I tried running tazpkg from the command line it failed due to insufficient memory. An alternative solution would be to use a swap file. I don't like using swap files when running off a USB because if they USB gets unplugged everything gets messed up. Also for USB 2.0 and earlier the I/O speed is very slow.

Edit 1: So my above script ran without errors. I then chrooted into the newly created folder:
Code:

chroot /mnt/home/symlinks /bin/bash

and then tried re-installing ironlinux:
Code:

tazpkg --forced git-install iron-linux


I then tried running the program:
Code:

iron


I see that I'm missing gtk3. I'll install it and try running it again.
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1408

PostPosted: Sat 23 Feb 2019, 19:25    Post subject:  

mistfire wrote:
This is the experimental TazWoof. This will build TazPup entirely from Slitaz Packages. The missing part was compiling kernel for TazPup (I put a blank function to place that routine) also make live cd was disabled.

I hope someone will complete this build system.

Download: https://drive.google.com/file/d/1VyhLlfmjAlnm9ehRjw_HkoDvbah_IcX_/view?usp=sharing


Is this the most recent version of TazWoof? I need to build a devX for the 64 bit version of TazPup. See thread:
TazPup64 (beta 23?)
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1408

PostPosted: Sun 24 Feb 2019, 02:14    Post subject: Re: TazPuppy Beta 23
Subject description: Slitaz-based puppy. A hybrid distro
 

mistfire wrote:


Build kit is now available if you want to build your own tazpuppy.
https://drive.google.com/file/d/16vbJrReVhGOMQY1PtC78VAVCit0vuRfV/view?usp=sharing


I think the version in the first post of this thread is the latest. Anyway, I've been trying to see if you can use the build kit to produce a 64 bit iso. I think that to do this we have to change the mirror for the packages using the following command:
Quote:

setup-mirror

Setup the URL for the mirror (setup-mirror or -sm). Command will ask for the URL of the new mirror. Note that you can also modify the main /var/lib/tazpkg/mirror file. The URL must point to the directory containing the packages.info and packages.

# tazpkg setup-mirror


For a 64bit build we will need one of the following urls
http://mirror.slitaz.org/packages/next64/
http://mirror1.slitaz.org/packages/next64/
in the mirror file:
Code:

/var/lib/tazpkg/mirror
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 1078
Location: PH

PostPosted: Sun 24 Feb 2019, 10:21    Post subject:  

@s243a

The tazpup devx was not yet updated yet it just works. If you want a fresh devx sfs. Just run this command on terminal. It requires internet connection.

Code:
make-devx [working folder to creating devx module]

Last edited by mistfire on Mon 25 Feb 2019, 20:30; edited 1 time in total
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 1078
Location: PH

PostPosted: Sun 24 Feb 2019, 10:25    Post subject:  

@s243a

Im glad that you will build a 64-bit tazpuppy. Which I cant make it due to lack of internet.

Make sure that the tazpuppy build kit must run in 64-bit Puppy in order to build 64-bit tazpuppy.
Back to top
View user's profile Send private message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 794
Location: Philadelphia, PA

PostPosted: Sun 24 Feb 2019, 10:31    Post subject:  

mistfire (in part) wrote:
TazPuppy Beta 23 released
Download: https://drive.google.com/file/d/1wSWovZdhtQGC2grWNA9jy5KO4-wNyYKw/view?usp=sharing
Good morning. I did download it, and thank you very much.
I'm using the TazWeb browser, on this Dell laptop E6410.

First-time user.
As I recall, the Grub4Dos command lines included

kernel /TazPup/vmlinuz psubdir=TazPup
initrd /TazPup/initrd.xz

Then, boot.

Thanks a lot.

Sorry I have nothing to contribute at present; I hope to read the thread and learn.

Sheldon

_________________
Dell E6410: Xenial, Bionicpup64, etc
Dell Mini 9, Acer Aspire One, EeePC 1018P, PowerBook G4
Intel D865GBF, Intel DQ35JOE
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1408

PostPosted: Mon 25 Feb 2019, 04:42    Post subject: Re: TazPuppy Beta 23
Subject description: Slitaz-based puppy. A hybrid distro
 

From the first post of this thread:
mistfire wrote:


Build kit is now available if you want to build your own tazpuppy.
https://drive.google.com/file/d/16vbJrReVhGOMQY1PtC78VAVCit0vuRfV/view?usp=sharing


I noticed that when I was trying to use the build-kit to build a 64bit version that everything fell apart once I got to core-utils and nothing installed after it. Output posted at:
https://pastebin.com/xiZz0Kta
**Note the iso was still built just not packes alphabetically between "a" and core-utils.

I think that any patches that are applied to TazPkg, need to be applied fefore the packages are installed. I believe this impacts both the 32bit version and the 64bit version that I'm trying to build. Recall that when we switched to core-utils we had to remove some busybox idiosyncrasies.

Edit #1 maybe it is just core-utils that needs to be treated separately. However, for a 64 bit system, I'm adding a prefix for a clean build now, so the only purpose of the TazPup iso is to get a working package manager (i.e. tazpkg). I will post my updated build-kit in the other thread.

Edit #2 I made some progress on this but I might not test this build kit because I think there are further changes that I need to make before it will work.:
64bit pre alpha 2 build kit:
https://www.dropbox.com/s/8ide4zsufh0vv9e/tazpup-prealpha-2?dl=0
Pastbin script for the modified build script:
https://pastebin.com/rGa4jJCp

Last edited by s243a on Tue 26 Feb 2019, 04:30; edited 4 times in total
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1408

PostPosted: Mon 25 Feb 2019, 08:09    Post subject:  

I noticed in the tazpkg manual that it says that for dependencies it prefers local packages in the same directory as the one you are installing

Quote:

install
This command allows the installation of a local package with the .tazpkg extension (install or -i).

Option --forced allows you to update an already installed package. Option --newconf allows you to rewrite all user configuration files using the new files from a package. Option --nodeps allows you to install only a specified package without its dependencies.

When TazPkg installs package dependencies, [b]it prefers local packages (i.e. dependent packages located in the same folder[/b\ as installed packages) over mirrored/cached packages with the --local option. It is useful when you want to install a lot of already downloaded packages and their dependencies without the need of a network connection.


For the "non-cloud mode" (i.e. local mode), I think the build kit should take advantage of this by first copying all packages to be installed into the root file system.

It also may be useful to combine this technique with an install list:

Quote:

get-list, install-list, get-install-list
Get and/or install a set of packages listed in a file. This command allows you to work with the several packages with a single command.

All options are the same as for respective simple commands: get, install and get-install.

# tazpkg install-list my-packages.list
# tazpkg get-install-list my-packages.list --forced
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1408

PostPosted: Wed 27 Feb 2019, 05:36    Post subject: Re: TazPuppy Beta 23
Subject description: Slitaz-based puppy. A hybrid distro
 

mistfire wrote:
I learned that someone in the forum was combining tiny core linux and puppy.

I wonder if someone was attempting to combine slitaz and puppy?


Build kit is now available if you want to build your own tazpuppy.
https://drive.google.com/file/d/16vbJrReVhGOMQY1PtC78VAVCit0vuRfV/view?usp=sharing



In the latest build-kit I noticed something that caused me a bit of grief when trying to build a 64 bit version.

My issue was, depending on which packages One installs a symlink might be created from /bin/lzma to xz and this will over-ride the full version of llzma if installed. This symlinking causes problems with converting files in tazpup. For instance on line#35 of /usr/libexec/tazpkg/pack we have:
Code:

*) lzma e fs.cpio.lzma -si;;


but xz doesn't support the -s option. My fix was to add the following to the buildkit:

Code:

if [ -f $curdir/slitaz-rootfs$prefix/usr/bin/lzma ]; then #Added by s243a
    rm -f  $curdir/slitaz-rootfs$prefix/bin/lzma
fi


but this case only covers if one installs lzma. If lzma isn't installed then perhaps the symlink should point to something other than xz.
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 1078
Location: PH

PostPosted: Thu 28 Feb 2019, 06:46    Post subject:  

TazPuppy beta 24 released

Changes:
* A bug where cannot remember loaded sfs is fixed
* Unable to find swap partition on UEFI is fixed
* With automatic fixing of missing essential cache files
* Ability to force update the essential cache files by using this boot parameter -- forceupdate
* Some fixes on tazpkg and sfs_load
* Improved cleanup on shutdown

Download: https://drive.google.com/file/d/1sZoT-wrMnCzOFNvrLH_rRboReEumEszN/view?usp=sharing
MD5 Checksum: 174d363471775e01f31a62b6c7a2a2d9

Build kit: https://drive.google.com/file/d/1nCcrJXHvA6U0drUXFP3WmApqN6yg0Tya/view?usp=sharing
Back to top
View user's profile Send private message 
sheldonisaac

Joined: 21 Jun 2009
Posts: 794
Location: Philadelphia, PA

PostPosted: Thu 28 Feb 2019, 11:41    Post subject:  

mistfire (in part) wrote:
TazPuppy beta 24 released
Got it, thanks a lot.
I'm on via Midori. Will save to HDD and hope to report further, in the future.

Sheldon

_________________
Dell E6410: Xenial, Bionicpup64, etc
Dell Mini 9, Acer Aspire One, EeePC 1018P, PowerBook G4
Intel D865GBF, Intel DQ35JOE
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1408

PostPosted: Fri 01 Mar 2019, 14:59    Post subject:  

I'm not sure if this was updated in the last build kit or not but on the previous build kit there was no internet in the chroot environment. To fix this one must do the following:

Code:

cp -f /etc/resolv.conf $curdir/slitaz-rootfs/etc/resolv.conf


as was noted on archiwiki.

https://wiki.archlinux.org/index.php/Chroot

The consequence of this is that cloud mode didn't work .
Back to top
View user's profile Send private message 
mistfire

Joined: 04 Nov 2008
Posts: 1078
Location: PH

PostPosted: Fri 01 Mar 2019, 23:27    Post subject:  

@s243a

thanks, I fixed the build script now.
Back to top
View user's profile Send private message 
s243a

Joined: 02 Sep 2014
Posts: 1408

PostPosted: Sat 02 Mar 2019, 14:00    Post subject:  

I'm not sure if it's updated but in the last version "beta 23" I have two fixes for:
Code:

/usr/bin/make-devx


The first suggestion is to make the script architecture independent by putting something like the following at the top of the script:

Code:

if [ -f /etc/slitaz/slitaz.conf ]; then
  . /etc/slitaz/slitaz.conf #Comment this line out if you don't want to use distro defualts.
fi
WEBSITE=${MIRROR_URL:-"http://mirror1.slitaz.org"}
DIRPKG=${SLITAZ_RELEASE:-'next64'}


note that where I have 'next64' as the default, you would put 'cooking' as the default. The point is to take the mirror and the release from slizaz.conf.

related to this in the function "download_pkgs", one has to replace "cooking" with "$DIRPKG" in the line
Code:

wget -nc --timeout=10 $WEBSITE/packages/cooking/$pkgname.tazpkg -O cooking/slitaz-devx/$pkgname.tazpkg

with gives:
Code:

wget -nc --timeout=10 $WEBSITE/packages/$DIRPKG/$pkgname.tazpkg -O $curdir/slitaz-devx/$pkgname.tazpkg


My second fix is to create all the necessary build directories. Around line #20 (now line #24) I have replaced:

Code:

 curdir="$1"
 
 if [ ! -e $curdir ]; then
  echo "Create working folder: $curdir"
  mkdir -p $curdir 2>/dev/null
  if [ $? -ne 0 ]; then
  echo "Failed to create working folder"
  exit
  fi
 fi
else
 echo "Usage: $cmd1 [working folder]"
 echo "Creates DEVX module for compiling"
 exit
fi


with

Code:

 curdir=`realpath "$1"`
 while read aDir; do
   if [ ! -e $aDir ]; then
     echo "Create working folder: $aDir"
     mkdir -p $aDir 2>/dev/null
     if [ $? -ne 0 ]; then
       echo "Failed to create working folder $aDir"
       exit
     fi
   fi
 done <<EOM
$curdir
$curdir/devx-rootfs
$curdir/slitaz-devx
EOM
else
 echo "Usage: $cmd1 [working folder]"
 echo "Creates DEVX module for compiling"
 exit
fi

#cd $curdir

Last edited by s243a on Sat 02 Mar 2019, 20:15; edited 5 times in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 56 of 57 [847 Posts]   Goto page: Previous 1, 2, 3, ..., 54, 55, 56, 57 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0594s ][ Queries: 13 (0.0093s) ][ GZIP on ]