Skip to content

Commit

Permalink
Add a flag that enables/disables /tmp/xerrs.log in config read by 3bu…
Browse files Browse the repository at this point in the history
  • Loading branch information
01micko committed Jun 29, 2020
1 parent 54e3ccc commit a298623
Show file tree
Hide file tree
Showing 15 changed files with 77 additions and 0 deletions.
7 changes: 7 additions & 0 deletions woof-code/3builddistro
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,13 @@ fi
#130326 script to adjust fonts to suit 96 dpi (puppy used to have 78 dpi)...
[ ! -d rootfs-complete/usr/share/ptheme ] && rootfs-complete/usr/sbin/hackfontsize #don't execute if we have ptheme

# xwin_disable_xerrs_log_flag
if [ "$XERRS_FLG" = 'yes' ];then
[ -e rootfs-complete/var/local/xwin_disable_xerrs_log_flag ] && \
rm rootfs-complete/var/local/xwin_disable_xerrs_log_flag && \
echo "Enabling X error log. User can change this later."
fi

#shared library loading...
( # > rootfs-complete/etc/ld.so.conf
echo "/lib${lsuffix}"
Expand Down
5 changes: 5 additions & 0 deletions woof-code/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ EXTRA_STRIPPING=yes
#PTHEME="Dark_Blue"
PTHEME="Original Pup"

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
XERRS_FLG=yes

## -- Default Apps --
## Not all are implemented in the puppy scripts,
## but you can specify a default app if you wish...
Expand Down
5 changes: 5 additions & 0 deletions woof-distro/arm/raspbian/buster/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ EXTRA_STRIPPING=no
#PTHEME="Dark_Blue"
PTHEME="pi original"

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
#XERRS_FLG=yes

## include Pkg in build (y/n). If commented then asked in 3builddistro
INCLUDE_PKG=y

Expand Down
5 changes: 5 additions & 0 deletions woof-distro/x86/debian/buster/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ EXTRA_STRIPPING=no
#PTHEME="Dark_Blue"
PTHEME="Original Pup"

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
XERRS_FLG=yes

## include Pkg in build (y/n). If commented then asked in 3builddistro
INCLUDE_PKG=n

Expand Down
5 changes: 5 additions & 0 deletions woof-distro/x86/debian/stretch/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ EXTRA_STRIPPING=no
PTHEME="Dark_Blue"
#PTHEME="Original Pup"

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
XERRS_FLG=yes

## include Pkg in build (y/n). If commented then asked in 3builddistro
INCLUDE_PKG=n

Expand Down
5 changes: 5 additions & 0 deletions woof-distro/x86/slackware/14.0/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ EXTRA_STRIPPING=yes
#PTHEME="Dark_Blue"
PTHEME="Original Pup"

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
XERRS_FLG=yes

## include Pkg in build (y/n). If commented then asked in 3builddistro
INCLUDE_PKG=y

Expand Down
5 changes: 5 additions & 0 deletions woof-distro/x86/ubuntu/trusty/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ EXTRA_STRIPPING=yes
#PTHEME="Dark_Blue"
PTHEME="Original Pup"

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
XERRS_FLG=yes

## -- Default Apps --
## Not all are implemented in the puppy scripts,
## but you can specify a default app if you wish...
Expand Down
5 changes: 5 additions & 0 deletions woof-distro/x86/ubuntu/upupbb/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ PTHEME="UPupBB"
#PTHEME="Bright Touch"
#PTHEME="Bright Mouse"

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
XERRS_FLG=yes

## if "$WOOF_HOSTARCH" = "$WOOF_TARGETARCH"
## This is usually not needed
EXTRA_STRIPPING=yes
Expand Down
5 changes: 5 additions & 0 deletions woof-distro/x86/ubuntu/xenial/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ PTHEME="Bright Mouse"
#PTHEME="Dark_Blue"
#PTHEME="Original Pup"

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
XERRS_FLG=yes

## include Pkg in build (y/n). If commented then asked in 3builddistro
INCLUDE_PKG=n

Expand Down
5 changes: 5 additions & 0 deletions woof-distro/x86_64/debian/buster64/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ EXTRA_STRIPPING=yes
## woof-code/rootfs-packages/ptheme/usr/share/ptheme/globals
#THEME="Original Pup"

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
XERRS_FLG=yes

## include Pkg in build (y/n). If commented then asked in 3builddistro
INCLUDE_PKG=n

Expand Down
5 changes: 5 additions & 0 deletions woof-distro/x86_64/slackware64/14.2/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ EXTRA_STRIPPING=yes
#PTHEME="Dark_Blue"
PTHEME="Original Pup"

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
XERRS_FLG=yes

## include Pkg in build (y/n). If commented then asked in 3builddistro
INCLUDE_PKG=y

Expand Down
5 changes: 5 additions & 0 deletions woof-distro/x86_64/ubuntu/bionic64/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ EXTRA_STRIPPING=yes
## woof-code/rootfs-packages/ptheme/usr/share/ptheme/globals
#THEME="Original Pup"

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
XERRS_FLG=yes

## include Pkg in build (y/n). If commented then asked in 3builddistro
INCLUDE_PKG=n

Expand Down
5 changes: 5 additions & 0 deletions woof-distro/x86_64/ubuntu/focal64/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ THEME_JWM='Numix-dusk'
THEME_DESK_ICONS='PMaterial'
THEME_OPENBOX='numix-dusk'

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
XERRS_FLG=yes

## include Pkg in build (y/n). If commented then asked in 3builddistro
INCLUDE_PKG=n
## -- Default Apps --
Expand Down
5 changes: 5 additions & 0 deletions woof-distro/x86_64/ubuntu/trusty64/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ PTHEME="Bright Mouse"
#PTHEME="Dark_Blue"
#PTHEME="Original Pup"

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
XERRS_FLG=yes

## -- Default Apps --
## Not all are implemented in the puppy scripts,
## but you can specify a default app if you wish...
Expand Down
5 changes: 5 additions & 0 deletions woof-distro/x86_64/ubuntu/xenial64/_00build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ PTHEME="Bright Mouse"
#PTHEME="Dark_Blue"
#PTHEME="Original Pup"

## XERRS_FLG if set to 'yes' enables logging of X errors in /tmp/xerrs.log
## if unset or or any value other than 'yes' X logging is disabled. User can change this in 'Startup Manager'
## For testing builds XERRS_FLG=yes is recommended. If the target device is low RAM suggest to leave this unset, especially for release
XERRS_FLG=yes

## include Pkg in build (y/n). If commented then asked in 3builddistro
INCLUDE_PKG=n

Expand Down

0 comments on commit a298623

Please sign in to comment.