WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: piCore-8.1.2 released  (Read 444 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 6825
    • My Community Forum
piCore-8.1.2 released
« on: January 11, 2017, 11:40:25 PM »
Team Tiny Core is pleased to announce the immediate availability of piCore-8.1.2 Changes:

* BusyBox updated to 1.26.2
* zlib updated to 1.2.10
* dropped util-linux mount/umount and replaced with BusyBox

Download location:

http://tinycorelinux.net/8.x/armv6/releases/RPi/

There is only one SD card image, it supports all armv6 and armv7 RPi boards!

Please read README and don't forget to expand mmcblk0p2 partition according to your needs to make room for persistent data and installed applications.

If you need the basic TC GUI, install TC.tcz from the repository.

For support visit http://forum.tinycorelinux.net/index.php/board,57.0.html
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1304
Re: piCore-8.1.2 released
« Reply #1 on: January 12, 2017, 05:48:45 AM »
Quote
* dropped util-linux mount/umount and replaced with BusyBox
I think this has broken Openbox.
Code: [Select]
openbox: error while loading shared libraries: libmount.so.1: cannot open shared object file: No such file or directory
Download a copy and keep it handy: Core book ;)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1304
Re: piCore-8.1.2 released
« Reply #2 on: January 12, 2017, 07:00:21 AM »
Code: [Select]
tce-update query /etc/sysconfig/tcedir/optional
fails with
Code: [Select]
grep: md5.db: No such file or directory
Error Could not verify extension-name.tcz
for every extension present in optional dir.
Download a copy and keep it handy: Core book ;)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 6825
    • My Community Forum
Re: piCore-8.1.2 released
« Reply #3 on: January 12, 2017, 09:25:06 AM »
Code: [Select]
tce-update query /etc/sysconfig/tcedir/optional
fails with
Code: [Select]
grep: md5.db: No such file or directory
Error Could not verify extension-name.tcz
for every extension present in optional dir.

Thanks for reporting. It is caused by a buggy BusyBox 1.26.2 wget applet which is downloading a partial file not the whole therefore gunzip can't unpack.

Will be fixed in 8.1.3

« Last Edit: January 12, 2017, 09:28:50 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 6825
    • My Community Forum
Re: piCore-8.1.2 released
« Reply #4 on: January 12, 2017, 10:46:49 PM »
8.1.2 removed from the download area due to buggy BusyBox.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline andriusr

  • WikiUser
  • *
  • Posts: 34
Re: piCore-8.1.2 released
« Reply #5 on: January 13, 2017, 05:03:56 AM »
On 8.1.1 I also noticed following. When R-Pi is not connected to the internet, I am getting continously the message from ntpd eserver about bad adress. The message appears on the screen every few seconds and seems to continue indefinetely. Is there way to disable ntpd server?
Not sure if this present in 8.1.2, no chance to check right now.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 6825
    • My Community Forum
Re: piCore-8.1.2 released
« Reply #6 on: January 13, 2017, 05:20:00 AM »
On 8.1.1 I also noticed following. When R-Pi is not connected to the internet, I am getting continously the message from ntpd eserver about bad adress. The message appears on the screen every few seconds and seems to continue indefinetely. Is there way to disable ntpd server?
Not sure if this present in 8.1.2, no chance to check right now.

No ntpd service started by the system by default.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline andriusr

  • WikiUser
  • *
  • Posts: 34
Re: piCore-8.1.2 released
« Reply #7 on: January 13, 2017, 06:03:29 AM »
I do not know from where it comes, however, I think Picore checks datetime when connected to internet and updates system datetime.
Anyway, adding to /opt/bootsync.sh one line

sudo start-stop-daemon -K -n ntpd

solved my issue.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1304
Re: piCore-8.1.2 released
« Reply #8 on: January 13, 2017, 06:53:36 AM »
The  nortc  boot code causes  ntpd  to run.
I don't see any error messages when not connected though.
Download a copy and keep it handy: Core book ;)

Offline andriusr

  • WikiUser
  • *
  • Posts: 34
Re: piCore-8.1.2 released
« Reply #9 on: January 13, 2017, 07:13:16 AM »
Probably this is down to my customised condiguration - I have static IP address asigned using command like this in /opt/bootsync.sh

ifconfig eth0 192.168.xx.xxx netmask 255.255.255.0 broadcast

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1304
Re: piCore-8.1.2 released
« Reply #10 on: January 13, 2017, 07:31:40 AM »
You may want to add the  nodhcp  boot code, if not already in use, so  ntpd  will not run automatically at boot.

Otherwise, you could try to redirect the output of  getTime.sh  in  /etc/init.d/settime.sh .
Code: [Select]
/usr/bin/getTime.sh >/dev/null 2>&1
This would require editing of the initrd.
Download a copy and keep it handy: Core book ;)

Offline andriusr

  • WikiUser
  • *
  • Posts: 34
Re: piCore-8.1.2 released
« Reply #11 on: January 13, 2017, 07:48:07 AM »
Misalf,
thanks for suggestion, I will try to add nodhcp to cmdline.txt (never managed to build initrd).
From the other hand, for configuration I do need dhcp since I have do download some things from repositories. Static IP is made when all the software is ready.
Editing bootsync.sh is easier than cmline.txt... Is there any way to enable dhcp in bootsync.sh if I need it?

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5181
Re: piCore-8.1.2 released
« Reply #12 on: January 13, 2017, 08:02:06 AM »
Hi andriusr
Quote
From the other hand, for configuration I do need dhcp since I have do download some things from repositories. Static IP is made when all the software is ready.
Why do you think you need DHCP to download from repositories? All DHCP does is assign you an address that's not being
used by any other computer on the LAN.

Offline andriusr

  • WikiUser
  • *
  • Posts: 34
Re: piCore-8.1.2 released
« Reply #13 on: January 13, 2017, 08:05:53 AM »
For dowload I connect R-Pi to the router (that is connected to the web) that has dhcp enabled. So, in order to get trough router R-Pi needs to be dhcp client. When I have static IP tce command does not works.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1304
Re: piCore-8.1.2 released
« Reply #14 on: January 13, 2017, 08:18:28 AM »
I guess your network configuration is not complete.

This is my  /opt/eth0-static.sh .
Code: [Select]
#!/bin/sh

[ "`id -u`" -eq 0 ] || { echo "Must be root." ; exit 1 ; }

pkill udhcpc
ifconfig eth0 192.168.0.4 netmask 255.255.255.0 broadcast 192.168.0.255 up
route add default gw 192.168.0.1

# Comodo Secure DNS
echo "nameserver 8.26.56.26" | tee /etc/resolv.conf
echo "nameserver 8.20.247.20" | tee -a /etc/resolv.conf


Quote
Is there any way to enable dhcp in bootsync.sh if I need it?
This is what the  Network  tool creates as  /opt/eth0.sh  for ethernet when using DHCP
Code: [Select]
pkill udhcpc
udhcpc -b -i eth0 -x hostname:box -p /var/run/udhcpc.eth0.pid
Download a copy and keep it handy: Core book ;)