Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: Jason W on April 01, 2014, 07:33:22 PM

Title: dCore-wheezy for x86 now posted.
Post by: Jason W on April 01, 2014, 07:33:22 PM
dCore  v5.14.04.01 for  x86 has been posted.  No major theme this  go around, just some fixes and enhancements.

Available at:

http://tinycorelinux.net/5.x/x86/release/

Full changelog viewable on our git page:

http://git.tinycorelinux.net/index.cgi?url=dCore-scripts.git/

dCore provides a suite of scripts to allow import of Debian packages. Currently amv7 and x86 are supported.

* Note:  I am now using the same release announcement format as for armv7, one sticky topic, one post per release.  Please raise bugs, questions, or issues in their own thread for better organization. 

*** Found a bug and reposted on 9pm EST.  If you downloaded before then, please re-download.
Title: Re: dCore for x86 now posted.
Post by: Jason W on May 25, 2014, 10:39:30 PM
dCore  and ub-dCore v5.14.05.26 for  x86 has been posted.  More bug fixes and enhancements.

Available at:

http://tinycorelinux.net/5.x/x86/release/

Full changelog viewable on our git page:

http://git.tinycorelinux.net/index.cgi?url=dCore-scripts.git/

dCore provides a suite of scripts to allow import of Debian packages. Currently amv7 and x86 are supported.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on June 14, 2014, 02:24:30 PM
dCore  and ub-dCore v5.14.06.13 for  x86 has been posted.  Fixed a bug in importsce as well as now using a rotating dash instead of echoing dependency names in the terminal as part of the dependency gathering routine.  On my machine this results in up to a 40% performance increase in calculating dependencies when using a normal size xterm window. 

Available at:

http://tinycorelinux.net/5.x/x86/release/

Full changelog viewable on our git page:

http://git.tinycorelinux.net/index.cgi?url=dCore-scripts.git/

dCore provides a suite of scripts to allow import of Debian packages. Currently amv7 and x86 are supported.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 01, 2014, 04:16:36 PM
Uploaded a new cut to release candidates as there were some extensive file changes with udev.

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz
http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz.md5.txt
Title: Re: dCore-wheezy for x86 now posted.
Post by: netnomad on September 02, 2014, 01:38:54 AM
hi jason,

i experienced some problems with this cut and i guess the notification is outdated for the cut in june.

i cannot restore my backup-file properly and it's difficult for me to examine the causes for these problems:
my extensions cannot be installed, is there a problem with labeling devices in the boot-process?
is there are problem with bootlocal.sh or bootsync.sh?

thank you for your help.

ps: by the way, i have similar problems with dcore-jessie, so i cannot use my really extensive configurated backup :(
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 03, 2014, 10:19:05 AM
As the changes were to udev, there probably is an issue with devices.  I will look into it.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 03, 2014, 01:17:35 PM
I am booting the release candidates of dCore.gz and dCore-jessie.gz with no issues on 2 very different machines.

Are you using the tinycore.net location and not a mirror like ibiblio?  Ibiblio right now has different dates of those files and I did have a bad cut of both of them fore a small time period. 
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on September 03, 2014, 06:01:25 PM
Hi
I experience the same problem as netnomad. The extensions are not loaded.
I've used the tinycorelinux.net
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 03, 2014, 09:22:33 PM
Have you downloaded a new dCore.gz today?  I will look into it.
Title: Re: dCore-wheezy for x86 now posted.
Post by: netnomad on September 04, 2014, 01:33:27 AM
hi jason,

tinycore.net offers me dCore-wheezy from 2014.09.01 and dCore-jessie from 2014.09.04.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 04, 2014, 10:16:23 AM
Ok, I see, device naming varies across reboots.  I had my sda hard drive and sdb usb drive switch naming a few times with the newest release candidate dCore.gz  .  A change in the one of the udev rules files which allowed the /dev/disk/by-* to be populated fully has also perhaps removed a more persistent naming of devices.  I will look into it tonight.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 04, 2014, 09:42:01 PM
Good news, I think I have found a solution via the 60-persistend-storage.rules from udev-extra.tcz in the 5.x repo.

Please try it out, it creates the needed files in /dev/disk and hopefully is better about consistency across reboots in device names versus the Debian/upstream udev files.

Posted new gzs:

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz
http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz.md5.txt

http://tinycorelinux.net/5.x/x86/release_candidates/dCore-jessie/dCore-jessie.gz
http://tinycorelinux.net/5.x/x86/release_candidates/dCore-jessie/dCore-jessie.gz.md5.txt

http://tinycorelinux.net/5.x/x86/release_candidates/dCore-jessie/dCore-jessie-5.14.09.03.iso
http://tinycorelinux.net/5.x/x86/release_candidates/dCore-jessie/dCore-jessie-5.14.09.03.iso.md5.txt

Title: Re: dCore-wheezy for x86 now posted.
Post by: netnomad on September 05, 2014, 02:40:30 AM
hi jason,

sorry, but i see no improvement for my setup.
it could be caused by the configurations of my backup?

thank you for your help.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 05, 2014, 07:15:54 AM
Ok, what is your device setup?  Usb drives, hard drive partitions, etc and how are they getting assigned device names.  (HD is sda1, sda2, usb is sdb1, second usb is sdc1, etc).  Are the device names attached to different ide or usb changing across reboots?  (Normal for Linux, but for some reason prevented in previous dCore releases). 

How is the backup not getting restored, not getting untarred, or do scripts in the backup not run, etc?
Title: Re: dCore-wheezy for x86 now posted.
Post by: netnomad on September 05, 2014, 07:55:42 AM
hi jason,

my boot-device is /dev/sdb1.

these are my boot-commands:
kernel /live/dcore-current/boot/vmlinuz waitusb=5:LABEL=tc protect restore=LABEL=tc tce=LABEL=tc/tce lst=sceboot.lst vga=795 psmouse.proto=imps settime tz=CET-1CEST,M3.5.0,M10.5.0/3 laptop kmap=de multivt lang=de_DE.UTF-8 mydata=dcore blacklist=snd_usb_audio intel_rng.no_fwh_detect=-1 printk.time=1 cron desktop=fluxbox log=3 acpi_sleep=s3_bios,s3_mode showapps
append initrd=/live/dcore-current/boot/dCore.gz
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 05, 2014, 08:49:56 AM
Ok, you have assigned a label to the device, that does help narrow it down.  I can test that when I get in tonight.

How many devices do you have attached (hd, usb) and has that changed since dCore was last working as expected?

What is the output of the below command?

blkid -s LABEL /dev/sdb1
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on September 05, 2014, 09:02:28 AM
Hi
what's the difference between http://tinycorelinux.net/5.x/x86/release_candidates/dCore-jessie/dCore-jessie.gz
and
http://tinycorelinux.net/5.x/x86/release_candidates/dCore-jessie/dCore-jessie-5.14.09.03.iso
?
 
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 05, 2014, 09:40:22 AM
Should only be that one is an ISO.   I will be posting ISOs of releases/release candidates for all the dCore once things settle down.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 05, 2014, 09:47:04 AM
JLS, are you having the same issue still?  If so, please give me all the details you can so I can narrow it down. 
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on September 05, 2014, 10:41:26 AM
I get the the extensions loaded at boot time changing :
Code: [Select]
waitusb=5:UUID=f184710d-4609-47c3-897e-4b8a0a6c02a2to
Code: [Select]
waitusb=5
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on September 05, 2014, 10:58:23 AM
Code: [Select]
jls@eeepc:~$ showbootcodes
BOOT_IMAGE=/boot/dCore/vmlinuz loglevel=3 noutc tz=CET-1CEST-2,M3.5.0,M10.5.0 lang=fr_FR.UTF-8 waitusb=5 tce=UUID=f184710d-4609-47c3-897e-4b8a0a6c02a2/dce user=jls host=eeepc vga=788 laptop multivt
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on September 05, 2014, 10:59:22 AM
Code: [Select]
jls@eeepc:~$ version
5.14.06.13
should be updated
Title: Re: dCore-wheezy for x86 now posted.
Post by: netnomad on September 05, 2014, 12:41:36 PM
Ok, you have assigned a label to the device, that does help narrow it down.  I can test that when I get in tonight.
How many devices do you have attached (hd, usb) and has that changed since dCore was last working as expected?
What is the output of the below command?
blkid -s LABEL /dev/sdb1

tc@box:~$ blkid -s LABEL /dev/sdb1
/dev/sdb1: LABEL="MYSTICK"
tc@box:~$ blkid -s LABEL /dev/sdb2
/dev/sdb2: LABEL="tc"

my setup offers an internal harddisk sda and i use an usbstick with sdb1 fat32 and sdb2 ext4.
sdb1 boots with syslinux the different core-files and several other live-systems.
sdb2 labeled with tc contains my extensions and my chronological backups.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 05, 2014, 12:52:37 PM
Netnomad, that is my exact same hardware setup so I can test label booting and hopefully find what is going on.

Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 05, 2014, 01:07:50 PM
I will automate the updating of the version file, it is easy to overlook.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 05, 2014, 05:15:31 PM
Netnomad, your boot options look like they are for core.gz and not dCore.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 05, 2014, 11:24:29 PM
Ok, I think I have found a fix.  I am booting with the LABEL= options, and it is working here, it did not before.

Please test.
Title: Re: dCore-wheezy for x86 now posted.
Post by: netnomad on September 06, 2014, 01:28:50 AM
Ok, I think I have found a fix.  I am booting with the LABEL= options, and it is working here, it did not before.

hi jason,
you've got it!!! now it boots fine!
great work :)

Quote
Netnomad, your boot options look like they are for core.gz and not dCore.

sorry, i gave you the wrong bootcodes :(
i corrected them above and offer them here, too:

kernel /live/dcore-current/boot/vmlinuz waitusb=5:LABEL=tc protect restore=LABEL=tc tce=LABEL=tc/tce lst=sceboot.lst vga=795 psmouse.proto=imps settime tz=CET-1CEST,M3.5.0,M10.5.0/3 laptop kmap=de multivt lang=de_DE.UTF-8 mydata=dcore blacklist=snd_usb_audio intel_rng.no_fwh_detect=-1 printk.time=1 cron desktop=fluxbox log=3 acpi_sleep=s3_bios,s3_mode showapps
append initrd=/live/dcore-current/boot/dCore.gz


these options worked fine for so long.
i thought that the same kernel is loaded with similar tinycore-specific options.
are there options that make no sense?

thank you for your help and commitment :)
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 26, 2014, 10:40:32 PM
I copied the dCore.gz in release_candidates to release, updated the /usr/share/doc/tc/release.txt, actually automated it so it should always reflect the day it was packed. 

Please report any issues.
Title: Re: dCore-wheezy for x86 now posted.
Post by: netnomad on September 27, 2014, 09:20:16 AM
...works flawless, smooth and fine for me :)
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on September 30, 2014, 11:03:47 PM
Updated to deal better with groups the user needs to belong to and that would require a re-login to effect upon adding the user to group.  Please download and test.

In the release area as I am confident there will be no breakage.

http://tinycorelinux.net/5.x/x86/release/dCore.gz

http://tinycorelinux.net/5.x/x86/release/dCore.gz.md5.txt
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on October 11, 2014, 04:24:07 PM
Updated with the fix mentioned in the dCore-jessie update post.

http://tinycorelinux.net/5.x/x86/release/dCore.gz

http://tinycorelinux.net/5.x/x86/release/dCore.gz.md5.txt
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on October 23, 2014, 10:41:58 AM
Ok, I have made a testing dCore.gz in release_candidates.  6 files were changed, so it is major enough to go through a testing phase.  If you create a .dep file for a package in the sce directory, or there is an existing .dep file, it's contents will be used as deps when the package is imported or re-imported whether the -d option is used or not, as with the existence of a .dep file it is assumed you wish to keep it.  Delete any .dep file if you wish to make a different new one, or to import without one.  Also, if you re-import a mounted SCE, it will be created in the /etc/sysconfig/tcedir/sce/update directory, and the contents of that directory will be moved to /etc/sysconfig/tcedir/sce during reboot.  The size calculation of importsce has been adjusted for this.  Please download and test.  If all is well, then these changes will be applied to the other dCore ports.

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz.md5.txt
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on October 23, 2014, 04:48:03 PM
the list of the deb(s) there will be included is not shown; tried it with a present dep file and leaving the 5 seconds passing without pressing any key
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on October 23, 2014, 05:36:18 PM
reimported currently mounted pidgin (-f): correctly placed in the update dir and then moved.
Thanks Jason.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on October 23, 2014, 05:45:09 PM
Oh, I meant to say that the echoing of all the package names, which can be hudreds, are now echoed to a file that can be read by pressing "y" when asked.  Do nothing, and in 5 seconds that option dissapears.  Less screen clutter, knowing all the package names that will be included in an SCE is sort of debugging info IMO.  But the option to see which packages will be included is available.

This information is stored in a file that can be read once the SCE is loaded, it also stores the md5sums of those individual Debian or prebuilt packages:

/usr/local/sce/PKGNAME/PKGNAME.md5sum
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on October 24, 2014, 03:51:36 PM
if I want to see the debs (tar.gz) included I have pay attention of the end of the deps generation, cause then I only have 5 secs. it's stressing me.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on October 24, 2014, 06:27:45 PM
Ok, I will make it a simple yes/no that comes unless the non-interactive option is used.  I was mainly thinking of not creating yet another yes/no that one has to answer, but that can be avoided with the non-interactive switch.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on October 24, 2014, 08:01:25 PM
Updated to release_candidates removing the 5 second timeout to where it waits indefinitely for input, unless non-interactive mode is chosen. 

Also, have created a yes/no for when there is not enough free ram or hard drive space.  This is invoked even with non-interactive mode since there is no reason to keep going when failure will result.
Title: Re: dCore-wheezy for x86 now posted.
Post by: netnomad on October 25, 2014, 11:19:54 AM
hi jason,

i'm looking forward testing these new features in jessie :)

keep on hacking, thank you for your excellent work!
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on October 25, 2014, 03:40:57 PM
Thanks netnomad, I will put this all now in Jessie to widen the testing base and Jessie is release candidate status at this point.

Updated dcore.gz in release_candidates.  Added the ability to call unloaded ondemand apps from a root terminal if root use is desired like in gparted.  Also fixed the issue of ondemand not obeying command arguements.   

I added an exit code of 1 in debExtract where tar and ar are used in the case of their failure.  Deb2sce was supposed to exit on a fail of debExtract, but the tar and ar commands failing were not causing the debExtract script to exit with a 1.  Hopefully it is more robust now, the md5sums of the debian packages and prebuilt were already being checked whether being redownloaded or using what is already in the sce dir, my hunch is normally an out of disk space issue if there is failure.

Please download and test.

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz.md5.txt
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on October 27, 2014, 04:14:45 PM
Hi
dCore iso in the release candidate area is not the latest
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on October 27, 2014, 05:49:35 PM
Ok, should be good now.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 02, 2014, 04:36:47 PM
Updated to change the "importsce -f" option to the more logically named "importsce -l".  Also, a /etc/sysconfig/tcedir/sce/pkgname.sce.lst file is created out of that specified file list.  That .lst list will be used on future import sessions of that package name whether a Debian one or one of the user's choosing.  Using the "importsce -l" option on future imports of that package name with an expanded package list will create a new sce with those packages and also overwrite the previous .lst list file.   Still in release candidate area, if this and the last changes are stable, will move to the release area.

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz.md5.txt
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on November 03, 2014, 04:55:06 PM
Hi
I'm importing advancecomp I get this:
Code: [Select]
cat: can't open '/tmp/.targetfile': No such file or directory
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 03, 2014, 05:53:01 PM
Ok, I see what is causing it.  A very simple fix, will get it when I get home tonight.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 03, 2014, 09:28:47 PM
Fixed, new cut uploaded to release_candidates and new iso.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 04, 2014, 10:06:09 PM
Updated to release_candidates with a fix for non-interactive mode on package selection.

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz.md5.txt
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 05, 2014, 04:36:09 AM
Updated to remove pathname from command line when present during importsce.

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz.md5.txt
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 13, 2014, 12:47:06 PM
Updated to make import sessoins more time efficient and to create the tool updatesce.

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz.md5.txt
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 16, 2014, 05:19:27 AM
Updated with bugfixes and enhancements.

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz.md5.txt
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 16, 2014, 06:30:29 PM
Uploaded with bugfixes releted to updatesce.

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz

http://tinycorelinux.net/5.x/x86/release_candidates/dCore.gz.md5.txt
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 20, 2014, 08:44:52 AM
Updated with latest fixes.  Available in the release_candidates directory below.  Note, the releases and release candidates under the tinycorelinux/5.x/x86/ directory will no longer be supported once a stable release is make in tinycorelinux/dCore/x86/.  Users are advised to download the latest release at that time.

http://tinycorelinux.net/dCore/x86/release_candidates/dCore-wheezy/
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 20, 2014, 01:29:39 PM
A smalll update with more streamlined md5sum and dependency searching during import.

http://tinycorelinux.net/dCore/x86/release_candidates/dCore-wheezy/
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 20, 2014, 06:34:08 PM
Bugfix in extra repo md5sum function.

http://tinycorelinux.net/dCore/x86/release_candidates/dCore-wheezy/
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 20, 2014, 07:49:44 PM
Bugfix.

http://tinycorelinux.net/dCore/x86/release_candidates/dCore-wheezy/
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 22, 2014, 06:01:36 PM
Updated.  Import creates an md5.txt file for created SCE's, and loadsce checks for it's existence and it's md5 if it exists.  This won't break existing SCE directories, it will simply add an md5.txt file for future imported SCE's.


http://tinycorelinux.net/dCore/x86/release_candidates/dCore-wheezy/
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on November 23, 2014, 12:59:39 PM
Hi
ondemand uses xmessage which is in the x11-utils package which is not in base dCore
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 23, 2014, 02:00:12 PM
A check is made for a running X session, otherwise xmessage is not used and instead terminal output is given.   X11-utils is a dependency of Xorg, so a running X session should always have xmessage.
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on November 23, 2014, 02:44:03 PM
Hi
In my setup there no x11-utils, I use xorg-trident
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 23, 2014, 05:41:09 PM
Ok, I have adjusted the dependencies and x11-utils should now be part of any xorg setup.

Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 27, 2014, 07:54:48 AM
Updated, please test.

Import and load the "sed" package for better performance during import.

http://tinycorelinux.net/dCore/x86/release_candidates/dCore-wheezy/
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on November 28, 2014, 11:16:47 AM
Code: [Select]
Merging hicolor-icon-theme
Connecting to ftp.fr.debian.org (212.27.32.66:80)
liblzma5_5.1.1alpha+ 100% |*******************************|   202k  0:00:00 ETA
Merging liblzma5
Connecting to ftp.fr.debian.org (212.27.32.66:80)
libxml2_2.8.0+dfsg1- 100% |*******************************|   871k  0:00:00 ETA
Merging libxml2
cat: /opt/debextra/ep: No such file or directory
wget: not an http or ftp url: /pool/main/s/shared-mime-info/shared-mime-info_1.3-1~bpo70+1_i386.deb
failed on download of pool/main/s/shared-mime-info/shared-mime-info_1.3-1~bpo70+1_i386.deb
wget: not an http or ftp url: /pool/main/s/shared-mime-info
ar: can't open '/etc/sysconfig/tcedir/import/debs/shared-mime-info_1.3-1~bpo70+1_i386.deb': No such file or directory
ar: can't open '/etc/sysconfig/tcedir/import/debs/shared-mime-info_1.3-1~bpo70+1_i386.deb': No such file or directory
/usr/bin/debExtract: line 41: can't create /tmp/: Is a directory
Failure to extract shared-mime-info_1.3-1~bpo70+1_i386.deb, exiting..
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 28, 2014, 06:28:44 PM
Ok, there is something with the /opt/debextra routine, I will aim to fix it.

Could you post the names of your /opt/debextra entries and their contents, as well as what package you are trying to import?
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on November 29, 2014, 08:23:23 AM
unfortunately my mydata.tgz got corrupted here in the main biblioteque of marsleille france, mydata corruption happen quite frequently due to (d)core philosofy, so I've lost my debextras
Title: Re: dCore-wheezy for x86 now posted.
Post by: netnomad on November 29, 2014, 09:13:58 AM
hi jls_legalize,

your last statement is very easy misunderstood...

kind regards.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 29, 2014, 10:43:34 AM
JlS - please open a new thread with more information for the mydata.tgz corruption.  I have not seen any curruption myself, and the backup function is the same as Core.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on November 29, 2014, 10:46:06 AM
Updated, reverting to using grep for the md5 and dependency routines, sed no longer used.  Turns out I went around my elbow to get to my ear on that one, though grep itself can't search until next new line, a simple grep trick can. 

http://tinycorelinux.net/dCore/x86/release_candidates/dCore-wheezy/
Title: Re: dCore-wheezy for x86 now posted.
Post by: jls on December 01, 2014, 08:39:34 AM
Hi
so "grep" should be imported for better performances?
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on December 01, 2014, 08:50:44 AM
Yeah, importing grep will greatly improve performance during dependency and md5sum gathering.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Onyarian on December 01, 2014, 02:27:55 PM
Excuse me, but "grep" is not part of the core?, if it is, why is interesting to import it? or, is because it's into busybox?
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on December 01, 2014, 02:45:39 PM
Busybox grep in the dependency gathering routine will read between 1 and 2 packages per second.  GNU grep will give you about 10 or 15 dependencies a second, almost 10 times faster.  I believe GNU grep caches the file it is reading in RAM so it does not need to pull it from the disk on subsequent reads.  Busybox grep will be used unless grep is imported which then by default GNU grep will be called on.  The md5sum functions in deb2sce and debGetSize also show the same performance increase with an imported grep, so it is quite a time difference overall.

Below is an actual comparison of the two greps, each ran twice to eliminate cache factor.

Code: [Select]
root@box:/home/tc# time /bb/grep "Package: file$" /etc/sysconfig/tcedir/debian_jessie_main_i386_Packages
Package: file
real    0m 0.38s
user    0m 0.37s
sys     0m 0.00s
root@box:/home/tc# time /bb/grep "Package: file$" /etc/sysconfig/tcedir/debian_jessie_main_i386_Packages
Package: file
real    0m 0.38s
user    0m 0.37s
sys     0m 0.00s
root@box:/home/tc# time grep "Package: file$" /etc/sysconfig/tcedir/debian_jessie_main_i386_Packages
Package: file
real    0m 0.01s
user    0m 0.00s
sys     0m 0.00s
root@box:/home/tc# time grep "Package: file$" /etc/sysconfig/tcedir/debian_jessie_main_i386_Packages
Package: file
real    0m 0.01s
user    0m 0.00s
sys     0m 0.00s
Title: Re: dCore-wheezy for x86 now posted.
Post by: Onyarian on December 01, 2014, 03:35:30 PM
Good, so clearly explained.

Thanks
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on December 01, 2014, 08:12:45 PM
Actually, using the time command in deb2sce on the debGetDeps function, I clocked 22 dependencies per second so the performance increase is substantial indeed.
Title: Re: dCore-wheezy for x86 now posted.
Post by: Jason W on December 02, 2014, 12:39:40 PM
This thread will now close in favor of the Release and Release candidate sections above.  Please direct any posts there.