Age | Commit message (Collapse) | Author | Files | Lines |
|
- released flxutils-0.1.32-flx0.2
- pcidev: add class-filtering support, speedups, fixees, small cleanups
|
|
It is now possible to limit the class of devices we want to look up.
By passing "-c 0x020000/0xffff00" for instance, we can focus on Ethernet
devices only.
Also, a nice improvement is that when listing only new modules (-n),
the code tries to avoid duplicate names when they are consecutive.
|
|
pcidev needed a lifting to speed up a bit and to avoid
reporting PCI hotplug bridges drivers for any bridge device.
|
|
- fixed mii-diag build with recent gcc
- wdd: support -c and -f
|
|
|
|
Options -c and -f permit to check a file for regular changes.
If the file does not get touched within -c seconds, the daemon
fails and exits.
|
|
- build: remove extraneous '-Os' in diet call
- init: add the "br" command to branch without returning
- init: add new commands "cd", "cr" and "sw"
- init: add checks for the kernel's cmdline
- init: fixed variable checking out of cmdline
- init: fixed small bug in variable name parser causing infinite loops
- init: add support for ${var+val} construct
- init: added the 'eq' command to compare strings
- init: disable omit-leaf-frame-pointer
- init: implement the "cp" command
- init: small cleanup, removed one write()
- init: implement the "ca" command to cat a file
|
|
|
|
Now using the ret_msg variable to output some error messages.
|
|
"cp" can be used to copy data or devices.
Also, an error is now reported when args are missing for a command or
when a command is not understood.
|
|
We can gain about 100 bytes using this.
|
|
EQ is useful to compare strings and act accordingly. It is different
from "te" in that it does not specifically check environment variables
for a fixed string, but has access to environment variables as well as
command line parameters.
Example :
eq ${quiet+set} ""
&{
ec "done."
}
|
|
The replacement operator is useful in a number of situations, for instance
to simply check for valueless arguments and recopy their names like this :
mt ${root-/dev/ram0} /mnt/root ${ro+ro} ${rw+rw}
|
|
|
|
The cmdline parser was designed to be used only once! Fixing it also
reduced the executable size by 32 bytes.
|
|
It is sometimes necessary to have access to the root= or init=
kernel variables and those are not passed to the environment.
Now when referencing a variable, init first checks for an environment
variable then falls back to /proc/cmdline.
This will help for instance in such cases :
mt ${root} /mnt/root ${rootfstype-ext2} rw
in ${init-/sbin/init}
|
|
cd <dir> does chdir(dir)
cr <dir> does only chroot(dir)
sw <dir> does chroot(dir), chdir(/) and reopens the console
|
|
Many scripts are written with a terminating "in /bin/sh", but this
causes some trouble because /bin/sh is passed init's args which are
invalid for sh.
A new "br" command (for "branch") works exactly like "ex" except
that it does not return in case of success. It simply does a pure
execve(). It also supports arguments if necessary.
So as of now, it is recommended that preinit scripts finish with
"br /bin/sh".
|
|
This extraneous '-Os' in the call to the "diet" utility lead to less
effective optimizations than the ones from "pkg". About 200 bytes
have been removed from "init" with this change.
|
|
Fixed controlling ttys in init.
|
|
The forked processes used to set up a controlling tty. But this
did not properly work because they had to switch from a different
session than the parent's, leading to lots of output being lost
when the process exited and the session terminated. The solution
was to use 2 processes, one to perform the work, and the other
one to maintain the session the time needed for the chars to
reach the tty.
|
|
The version was bumped to flxutils-0.1.30-flx0.2 due to the fact that
it remained for a long time at this version.
Some binary files which were mistakenly versionned have been removed.
|
|
|
|
|
|
|
|
It is now possible to use environment variables within scripts.
Two forms are supported :
${variable}
is replaced with the variables's value or an empty
string if the variable is not set
${variable-default}
is replaced with the variable's value, or the "default"
string if the variable is not set.
The variables are not evaluated within quotes, but quotes can
be temporarily closed to reach the variable. For instance :
ec "my TERM is ${TERM}"
will output "my TERM is ${TERM}"
ec "my TERM is "${TERM}
will output "my TERM is linux"
|
|
With this add-on, Ctrl-C works for any program executed from
init.
|
|
|
|
Hexadecimal character escape was erroneously computed on signed chars which
lead to invalid hex dumps for files names containing characters >=128.
|
|
files and packages
|
|
|
|
select only the packages containing a build.cfg * newpkg: do not propose a list of multiple identical new names * release: also identify non-shell text scripts. * release: put only package's basename in changelogs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|