WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 ... 8 9 [10]
91
bootlocal.sh runs in background, and may or may not finish before X starts, but it cannot access the X window anyway.
If you want it to run under X then you need to put it in ~/.X.d.

Can you point me to a good resource on this X script? Still need to get this thing running.
92
 :P thanks for the quick reply, was afraid of that. Do I just drop the shell (perl maybe?) file in there?

I found out the issue was not  with my script anyways. Just unpacking and rebuilding the image according to the instructions given came up with the same result.  Curious if it's a ubuntu trying fishy things again.

UPDATE:
I realize this time it was an issue with permissions. This system is kind of finicky with permissions.

UPDATE2:
back to having the memory leak / loop issue from even normal unpack and repack with no mods. ugh.

93
TCB Talk / Re: tar: warning: skipping header 'g'
« Last post by remus on November 24, 2014, 07:00:08 PM »
copied tar.gz file to windows

extracted with 7zip

copied contents back to microcore system

repackaged dir for storage

Will test and see if doing stuff to it on windows screwed up the source files.
94
bootlocal.sh runs in background, and may or may not finish before X starts, but it cannot access the X window anyway.
If you want it to run under X then you need to put it in ~/.X.d.
95
Greetings!
I've done a large amount of google fu work, looked on here, and obviously follow this guide: http://wiki.tinycorelinux.net/wiki:remastering

here's my bootlocal.sh (I know I don't have to indirectly call perl, but doing this so I can add bash system commands later)

Code: [Select]
#!/bin/sh
# put other system startup commands here
/opt/login.sh

here's login.pl ( a couple of scrubbed items)

Code: [Select]
#************************
# Written by Shades
# Description: This script simply pops open a firefox window for whitelisting, and
# once they close firefox, it will reboot them.
# This Script is built in such a way that it doesn't require any libraries to be
 brought in.
# Input / Output: None\

# Usage: Startup script to be put in rc.local, etc. on boot start.
# Version: 0.2.1
#************************

#---------
# Grab libraries needed that are included in base OS
#---------

use strict;

#---------
# Declare variables and set initial values
#---------

my $mac = `cat /sys/class/net/eth0/address` or die("Not a valid Linux system!");
 # Grab the mac from the mac file
my $url = 'https://internalwebsite/?mac=' . $mac;
my $statuslength = 10;
my $status = '';
my $verbose = 0; # Set to 1 if you want verbosity for troubleshooting

#--------
# Open Firefox and detect when it's done
#--------
system("firefox $url &") or die("Erroring running firefox command!");

# Commenting out the below until testing proves above will not move forward unti
l completed.
# Will be deperacated in version 0.3.0
#while ($statuslength > 2) {
# $status = `ps -eflno | grep -i firefox | grep -vi "grep"`;
# $statuslength = length($status); # Grab length of response, should be 1
if close for \n
# if ($verbose = 1) {
# # Output the verbose features here for this routine.
# print "Length of ps return: " . $statuslength;
# print "ps response: " . $status;
# }
# sleep 3; # To try and save on some memory / processing by sleeping for 3
 seconds.
#}

#--------
# Reboot system (into PXE?)
#--------
system("sudo reboot");

My issue is it throws this error after loading extensions:
Code: [Select]
mount: can't setup loop device: No space left on device
and  afterwards throws similar errors for each plugin. My perl script has been test on my normal TC box, and throws no errors / runs as expected when ran manually (not included in bootlocal.sh).  Any ideas as to why it does this when included in bootlocal.sh? Is it trying to run all these scripts before X startup? If so, how do I get it run automatically after X startup?  Cron spool file? Appreciate any help and hope the script gives ideas to any one else :)
96
TCE Talk / uzbl browser
« Last post by cast-fish on November 24, 2014, 06:24:47 PM »
hi,,

this browser tcz loaded ok....but does not work on 4.3.1

python errors emerge and such

the command is

$tc uzbl-browser

or

$tc  uzbl-tabbed

it opens the browser window but gets no further


do you have it working on your system?....what TCL version?

thanks

Vince.

97
TCB Talk / tar: warning: skipping header 'g'
« Last post by remus on November 24, 2014, 06:06:42 PM »
Hi all,

Am trying to setup Rdiff-Web for tinycore, have worked throught some dependencies, and am now trying to extract the tarball for rdiff-web itself and came across the following strange error.

Site
Code: [Select]
https://github.com/ikus060/rdiffweb/blob/master/README.md
Download
Code: [Select]
wget --no-check-certificate -O ikus060-rdiffweb.tar.gz https://github.com/ikus060/rdiffweb/archive/v0.6.5.tar.gz
Extract
Code: [Select]
tar -xf ikus060-rdiffweb.tar.gz
tar: warning: skipping header 'g'

I've done a bit of googling and am wondering if this has something to do with busybox not having pax header support ?
I could be way off base on this error.

All comments and suggestions are welcome.

Thanks :)
98
TCE Corepure64 / Re: submitqc5 referencing wrong repository?
« Last post by coreplayer2 on November 24, 2014, 05:15:21 PM »
You may find this script helps when checking any extension for submission, run it from the parent directory containing the extension to test.

 just ran it on the submitqc5 extension (with fixed typo) without error

:)
99
CorePlus / Re: xf86-video-neomagic.tcz for Xorg 7.7??
« Last post by serhi999se on November 24, 2014, 05:09:14 PM »
the driver is not going to. after make -> file is missing xaa.h. as understood from the description in the absence of xaa.h, it may replace shadowfb.h. such a file is present in the package xorg-server-dev. but there is no replacement. right thing to do?

commit 07845a120a674380b6b499961e6c81accfdd6a2e
Author: Adam Jackson <ajax@redhat.com>
Date:   Mon Dec 19 16:50:28 2011 -0500

    Fall back to shadowfb when XAA is unavailable
100
TCE Corepure64 / Re: submitqc5 referencing wrong repository?
« Last post by coreplayer2 on November 24, 2014, 04:40:46 PM »
Fixed thanks
Pages: 1 ... 8 9 [10]