petitboot
7 years agodiscover: Implement device handler boot path
Jeremy Kerr [Wed, 6 Mar 2013 09:14:58 +0000 (17:14 +0800)]
discover: Implement device handler boot path

This change adds a funtion, device_handler_boot, which processes the
boot command message from the discover server.

We add a new file, discover/boot.c (and a corresponding header) with a
skeleton for the final kexec code.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7 years agodiscover: parse boot message from incoming ACTION_BOOT messages
Jeremy Kerr [Wed, 6 Mar 2013 09:08:05 +0000 (17:08 +0800)]
discover: parse boot message from incoming ACTION_BOOT messages

Add a function in the protocol code to deserialise a boot message, and
use it to extract a boot_command in the discover server.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7 years agodiscover-server: Add reference to server in struct client
Jeremy Kerr [Wed, 6 Mar 2013 09:04:48 +0000 (17:04 +0800)]
discover-server: Add reference to server in struct client

We'll need to reference the server when handling messages from clients.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7 years agolib/url: Move URL-handling code to lib
Jeremy Kerr [Tue, 5 Mar 2013 07:28:14 +0000 (15:28 +0800)]
lib/url: Move URL-handling code to lib

We'll need to use the URL handling code in the server, so move it to the
lib/ directory.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7 years agoui/ncurses: Add discover client to struct cui
Jeremy Kerr [Wed, 27 Feb 2013 08:23:56 +0000 (16:23 +0800)]
ui/ncurses: Add discover client to struct cui

.. we'll need it later.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7 years agodiscover-client: interact directly with waitset
Jeremy Kerr [Wed, 27 Feb 2013 08:04:23 +0000 (16:04 +0800)]
discover-client: interact directly with waitset

Currently, clients need to mess with the discover client fd directly,
and manually register the waiter.

Instead, this change adds a waitset parameter to
discover_client_register, so that the discover client can register
itself, and call discover_client_process directly. This means no proxy
handlers, and no casts to waiter callbacks.

We can also get rid of discover_client_get_fd.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7 years agodiscover-client: Add discover_client_boot
Jeremy Kerr [Wed, 27 Feb 2013 03:00:32 +0000 (11:00 +0800)]
discover-client: Add discover_client_boot

This change implements the client side of the server-based boot
interface. We add a funcion, discover_client_boot, which serialises a
boot message, then sends it to the server.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7 years agodiscover: Allow discover server to receive boot messages
Jeremy Kerr [Wed, 27 Feb 2013 01:33:34 +0000 (09:33 +0800)]
discover: Allow discover server to receive boot messages

Currently, the petitboot socket is one way: messages are only sent from
server to client.

Beause we want the clients to trigger a boot, this change allows the
server to receive messages on the petitboot socket. This is just a
matter of adding a waiter to the client-specific socket, then handling
incoming messages.

At present we don't do anything with the messages, but we'll add a
handler later.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7 years agoAdd boot command structure to petitboot protocol description
Jeremy Kerr [Wed, 27 Feb 2013 01:09:47 +0000 (09:09 +0800)]
Add boot command structure to petitboot protocol description

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7 years agoui: callback & boot actions: kexec -> boot
Jeremy Kerr [Wed, 27 Feb 2013 06:28:55 +0000 (14:28 +0800)]
ui: callback & boot actions: kexec -> boot

find ui/ -type f |
xargs sed -i -e s/kexec_cb/boot_cb/g \
-e s/on_kexec/on_boot/g \
-e s/run_kexec/boot/g

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7 years agoui: pb_kexec_data -> pb_boot_data
Jeremy Kerr [Wed, 27 Feb 2013 06:22:01 +0000 (14:22 +0800)]
ui: pb_kexec_data -> pb_boot_data

find ui/ -type f |
xargs sed -i -e s/pb_kexec_data/pb_boot_data/g \
-e 's/\<kd\>/bd/g'

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7 years agoui/ncurses: ked -> boot-editor
Jeremy Kerr [Wed, 27 Feb 2013 06:15:34 +0000 (14:15 +0800)]
ui/ncurses: ked -> boot-editor

git mv ui/ncurses/nc-ked.c ui/ncurses/nc-boot-editor.c
git mv ui/ncurses/nc-ked.h ui/ncurses/nc-boot-editor.h
find ui/ncurses -type f |
xargs sed -i -e s/nc-ked\./nc-boot-editor./g \
             -e s/ked/boot_editor/g

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
7 years agopb-udhcpc: Fix generation of TFTP URLs
Jeremy Kerr [Wed, 10 Apr 2013 02:02:20 +0000 (12:02 +1000)]
pb-udhcpc: Fix generation of TFTP URLs

DHCP boot-file parameters may not contain a preceeding slash. In this
case, the current udhcp script will not form a correct URL.

This change adds the slash unconditionally; in the case that the
pathname already has a preceeding slash, the URL parser will handle this
correctly.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agoui/common: Remove unused artwork
Jeremy Kerr [Wed, 10 Apr 2013 02:13:35 +0000 (12:13 +1000)]
ui/common: Remove unused artwork

A few of the oxygen icons are no longer used, so remove them from the
artwork tree.

Coincidentally, this fixes and issue with `make dist`, as the
drive-removable-media-usb-pendrive.png file is too long (when used with
an autogenerated git version string) to be tar-ed up.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agotest/urls: Fix distcheck breakages
Jeremy Kerr [Wed, 10 Apr 2013 02:13:35 +0000 (12:13 +1000)]
test/urls: Fix distcheck breakages

We need a couple of extra automake variables to get `make distcheck`
working.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agowaiter: Don't rely on global variables to keep waiter state
Jeremy Kerr [Wed, 10 Apr 2013 02:19:13 +0000 (12:19 +1000)]
waiter: Don't rely on global variables to keep waiter state

Rather than defining the set of waiters (and pollfds) in waiter.c, add a
struct waitset to contain these.  A waitset is created with
waitset_create, which is passed to the waiter_* functions.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agolib/types: Create common file for type definitions
Jeremy Kerr [Wed, 10 Apr 2013 02:19:13 +0000 (12:19 +1000)]
lib/types: Create common file for type definitions

The device and boot_option types are defined in pb-protocol.h, but
aren't really specific to the procotol. This means a lot of
non-messaging-related files are #including the protocol definitions
unnecessarily.

This change separates the types out into lib/types/types.h.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agotest/url: Add http-simple.test
Jeremy Kerr [Wed, 6 Mar 2013 05:42:15 +0000 (13:42 +0800)]
test/url: Add http-simple.test

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agoui/common/url: Fix multiple-preceeding-slash on pathnames
Jeremy Kerr [Wed, 6 Mar 2013 05:42:15 +0000 (13:42 +0800)]
ui/common/url: Fix multiple-preceeding-slash on pathnames

Fix the double-slash URL test.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agotest: Add URL parser test infrastructure
Jeremy Kerr [Wed, 6 Mar 2013 05:42:15 +0000 (13:42 +0800)]
test: Add URL parser test infrastructure

This change adds some simple testing infrastrcture to the URL parser.
We use a small C binary (parse-url) to run the url parser on its
argument, and compare the output with an expected datafile.

An initial test is included, to check the behaviour of URLs with
multiple slashes between host and pathname. This test currently fails.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agoui/common/url: Add pb_url_scheme_name
Jeremy Kerr [Wed, 6 Mar 2013 05:42:15 +0000 (13:42 +0800)]
ui/common/url: Add pb_url_scheme_name

Add a function to lookup the name of a scheme, for more useful URL
output.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agoui/common/url: remove scheme separator from URL scheme definitions
Jeremy Kerr [Wed, 6 Mar 2013 05:42:15 +0000 (13:42 +0800)]
ui/common/url: remove scheme separator from URL scheme definitions

To make the scheme definitions more useful for other functions.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agoui/common/url: move pb_scheme_info array to file scope
Jeremy Kerr [Wed, 6 Mar 2013 05:42:15 +0000 (13:42 +0800)]
ui/common/url: move pb_scheme_info array to file scope

We'd like to use the scheme info array for other functions, so move it
to file scope, and rename to schemes.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agoAllow host programs to be configured
Jeremy Kerr [Tue, 5 Mar 2013 05:54:55 +0000 (13:54 +0800)]
Allow host programs to be configured

Rather than hard-coding in lib/system/system.c, this change adds a set
of #defines for host programs, through the autoheader config.h

These host programs can then be set through configure:

 ./configure HOST_PROG_MOUNT=/usr/bin/mount

Because we need to define nine host programs, we add an autoconf macro
to avoid repeating the definition code.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agodiscover: Remove {U,}MOUNT_BIN defines
Jeremy Kerr [Tue, 5 Mar 2013 05:54:55 +0000 (13:54 +0800)]
discover: Remove {U,}MOUNT_BIN defines

Use pb_system_apps instead.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agoAdd udevadm to pb_system_apps
Jeremy Kerr [Tue, 5 Mar 2013 05:54:55 +0000 (13:54 +0800)]
Add udevadm to pb_system_apps

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agodiscover: Use pb_run_cmd rather than calling system()
Jeremy Kerr [Tue, 5 Mar 2013 05:54:55 +0000 (13:54 +0800)]
discover: Use pb_run_cmd rather than calling system()

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agoconfigure.ac: Add --enable-werror
Jeremy Kerr [Tue, 5 Mar 2013 05:49:15 +0000 (13:49 +0800)]
configure.ac: Add --enable-werror

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agodiscover: remove (unused) duplicate struct mount_map
Jeremy Kerr [Tue, 5 Mar 2013 05:49:15 +0000 (13:49 +0800)]
discover: remove (unused) duplicate struct mount_map

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agodiscover: remove unused message.h file
Jeremy Kerr [Tue, 5 Mar 2013 05:49:15 +0000 (13:49 +0800)]
discover: remove unused message.h file

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agoparser: remove unused fields from struct parser
Jeremy Kerr [Tue, 5 Mar 2013 05:49:15 +0000 (13:49 +0800)]
parser: remove unused fields from struct parser

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agoui/twin: fix compiler warnings
Jeremy Kerr [Tue, 5 Mar 2013 05:49:15 +0000 (13:49 +0800)]
ui/twin: fix compiler warnings

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agolib/pb-protocol: suppress warning for unused buf_len arg
Jeremy Kerr [Tue, 5 Mar 2013 05:49:15 +0000 (13:49 +0800)]
lib/pb-protocol: suppress warning for unused buf_len arg

When assert is disabled, we end up with an warning for buf_len.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agoui/ncurses: Fix warning from unnecessary if statement
Jeremy Kerr [Tue, 5 Mar 2013 05:49:15 +0000 (13:49 +0800)]
ui/ncurses: Fix warning from unnecessary if statement

 ui/ncurses/nc-menu.c: In function 'pmenu_process_key':
 ui/ncurses/nc-menu.c:207:33: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agodiscover: simplify handler switch statement
Jeremy Kerr [Tue, 5 Mar 2013 05:49:15 +0000 (13:49 +0800)]
discover: simplify handler switch statement

Instead of using nested switch statements in device_handler_event,
define an array of handlers, and lookup instead.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agonc: Only expand debug macros if DEBUG is defined
Jeremy Kerr [Tue, 5 Mar 2013 05:49:15 +0000 (13:49 +0800)]
nc: Only expand debug macros if DEBUG is defined

To reduce debugging output from the UI

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Geoff Levand <geoff@infradead.org>
7 years agoConvert echo to printf in scripts
Geoff Levand [Tue, 16 Oct 2012 21:58:53 +0000 (14:58 -0700)]
Convert echo to printf in scripts

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoFix sftp loader
Geoff Levand [Tue, 3 Apr 2012 00:20:37 +0000 (17:20 -0700)]
Fix sftp loader

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoIncrease X screen size
Geoff Levand [Sat, 31 Mar 2012 00:54:11 +0000 (17:54 -0700)]
Increase X screen size

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoSpeed up --start-daemon option
Geoff Levand [Sat, 31 Mar 2012 00:20:48 +0000 (17:20 -0700)]
Speed up --start-daemon option

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoCleanup --dry-run option code
Geoff Levand [Fri, 30 Mar 2012 23:58:32 +0000 (16:58 -0700)]
Cleanup --dry-run option code

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd missing EXTRA_DIST files
Geoff Levand [Fri, 30 Mar 2012 03:47:51 +0000 (20:47 -0700)]
Add missing EXTRA_DIST files

8 years agoAdd UI option --dry-run
Geoff Levand [Wed, 28 Mar 2012 02:59:09 +0000 (19:59 -0700)]
Add UI option --dry-run

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd new macro DEFINE_LIST()
Geoff Levand [Tue, 27 Mar 2012 03:21:21 +0000 (20:21 -0700)]
Add new macro DEFINE_LIST()

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agopb-discover: Ignore ram, loop and no-name devices
Geoff Levand [Tue, 27 Mar 2012 03:18:32 +0000 (20:18 -0700)]
pb-discover: Ignore ram, loop and no-name devices

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoFix device mount retry
Geoff Levand [Tue, 27 Mar 2012 03:16:37 +0000 (20:16 -0700)]
Fix device mount retry

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd more paths to grub2 parser
Geoff Levand [Tue, 27 Mar 2012 02:55:53 +0000 (19:55 -0700)]
Add more paths to grub2 parser

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoLog to stderr, allow --log=-
Geoff Levand [Tue, 27 Mar 2012 02:23:17 +0000 (19:23 -0700)]
Log to stderr, allow --log=-

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoZero automatic sockaddr
Geoff Levand [Tue, 27 Mar 2012 02:08:23 +0000 (19:08 -0700)]
Zero automatic sockaddr

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd grub.cfg from opensuse install
Geoff Levand [Tue, 27 Mar 2012 01:49:23 +0000 (18:49 -0700)]
Add grub.cfg from opensuse install

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd DEVPATH to udev_print_event()
Geoff Levand [Tue, 27 Mar 2012 01:47:35 +0000 (18:47 -0700)]
Add DEVPATH to udev_print_event()

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd grub2 conf file parser
Geoff Levand [Mon, 19 Mar 2012 05:58:29 +0000 (22:58 -0700)]
Add grub2 conf file parser

Add grub2 parser and sample config file.
Reorder parser priorities:
  From (yaboot -> kboot) to (kboot -> grub2 -> yaboot).

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoParser test cleanup
Geoff Levand [Mon, 19 Mar 2012 05:19:49 +0000 (22:19 -0700)]
Parser test cleanup

Major cleanup of parser tests.

 * Change test data directory layout to ease test automation.
 * Remove some unneeded files.
 * Re-write test wraper script, rename to run-parser-tests.
 * Rework for autotools.

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoMinor comment fix
Geoff Levand [Mon, 19 Mar 2012 00:24:21 +0000 (17:24 -0700)]
Minor comment fix

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd new member get_pair to conf parser context
Geoff Levand [Sun, 18 Mar 2012 23:20:38 +0000 (16:20 -0700)]
Add new member get_pair to conf parser context

To allow parsers more control over finding paramerter pairs
add a new member get_pair to the parser struct conf_context.
Initialize get_pair=conf_get_pair_equal for existing parsers.

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoRefactor parser routine conf_get_param_pair()
Geoff Levand [Sun, 18 Mar 2012 23:09:16 +0000 (16:09 -0700)]
Refactor parser routine conf_get_param_pair()

Refactor conf_get_param_pair() and rename to conf_get_pair().
Add two new wrapper routines conf_get_pair_equal() and
conf_get_pair_space().

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd parser routine conf_replace_char()
Geoff Levand [Sun, 18 Mar 2012 22:52:02 +0000 (15:52 -0700)]
Add parser routine conf_replace_char()

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoConvert test to automake
Geoff Levand [Sat, 17 Mar 2012 05:23:35 +0000 (22:23 -0700)]
Convert test to automake

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoFix build error in parser-test
Geoff Levand [Sat, 17 Mar 2012 05:19:44 +0000 (22:19 -0700)]
Fix build error in parser-test

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoUse static array for parsers
Geoff Levand [Sat, 17 Mar 2012 05:06:03 +0000 (22:06 -0700)]
Use static array for parsers

Change the parser structure array implementation from using an
array in a seperate parsers section to a static array of pointers
in parser.c.  Parser priority is now set by the position in the
new parsers array.

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoFix seg fault with bare kboot.conf variables
Geoff Levand [Sat, 17 Mar 2012 04:59:18 +0000 (21:59 -0700)]
Fix seg fault with bare kboot.conf variables

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoUse define_parser() for native
Geoff Levand [Fri, 16 Mar 2012 16:53:54 +0000 (09:53 -0700)]
Use define_parser() for native

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd logrotate.conf
Geoff Levand [Sat, 10 Mar 2012 02:03:41 +0000 (18:03 -0800)]
Add logrotate.conf

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd time to version string
Geoff Levand [Sat, 10 Mar 2012 00:32:18 +0000 (16:32 -0800)]
Add time to version string

To comply with Debian's package version rules.

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoFixup artwork licenses
Geoff Levand [Fri, 9 Mar 2012 23:36:40 +0000 (15:36 -0800)]
Fixup artwork licenses

Replace icon files with files from KDE 4.3 Oxygen.  Add artwork
license info.

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd --start-daemon option to ui programs
Geoff Levand [Fri, 9 Mar 2012 04:48:21 +0000 (20:48 -0800)]
Add --start-daemon option to ui programs

Add the option --start-daemon to automatically start
pb-discover if it is not already started.  For use
when running as a stand-alone app.

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoLog file cleanups
Geoff Levand [Fri, 9 Mar 2012 02:31:50 +0000 (18:31 -0800)]
Log file cleanups

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoRename pb-nc, pb-twin to petitboot-nc, petitboot-twin
Geoff Levand [Fri, 9 Mar 2012 02:08:08 +0000 (18:08 -0800)]
Rename pb-nc, pb-twin to petitboot-nc, petitboot-twin

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoRetry device mount without 'ro' option
Geoff Levand [Fri, 9 Mar 2012 01:41:15 +0000 (17:41 -0800)]
Retry device mount without 'ro' option

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd '--action=add' to udevadm trigger command
Geoff Levand [Sat, 18 Feb 2012 22:54:21 +0000 (14:54 -0800)]
Add '--action=add' to udevadm trigger command

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoMove installed programs from bin to sbin
Geoff Levand [Wed, 22 Feb 2012 21:15:35 +0000 (13:15 -0800)]
Move installed programs from bin to sbin

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoCleanup man pages
Geoff Levand [Wed, 15 Feb 2012 22:54:50 +0000 (14:54 -0800)]
Cleanup man pages

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoUpdate twin ui to use discover server
Geoff Levand [Wed, 15 Feb 2012 19:33:41 +0000 (11:33 -0800)]
Update twin ui to use discover server

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoRemove union in pb_opt_data
Geoff Levand [Wed, 15 Feb 2012 19:23:55 +0000 (11:23 -0800)]
Remove union in pb_opt_data

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoMinor include path fix
Geoff Levand [Wed, 15 Feb 2012 19:09:55 +0000 (11:09 -0800)]
Minor include path fix

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd usage comment to parse_user_event
Geoff Levand [Wed, 15 Feb 2012 19:09:14 +0000 (11:09 -0800)]
Add usage comment to parse_user_event

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoRename pb-nc-generic to pb-nc
Geoff Levand [Wed, 15 Feb 2012 18:52:13 +0000 (10:52 -0800)]
Rename pb-nc-generic to pb-nc

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoRemove unused file pb-cui.c
Geoff Levand [Wed, 15 Feb 2012 18:51:07 +0000 (10:51 -0800)]
Remove unused file pb-cui.c

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoFixups for 'make dist'
Geoff Levand [Sun, 12 Feb 2012 22:20:04 +0000 (14:20 -0800)]
Fixups for 'make dist'

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd artwork files network.png, system.png
Geoff Levand [Sun, 12 Feb 2012 21:48:32 +0000 (13:48 -0800)]
Add artwork files network.png, system.png

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoRename ps3-cui.c to ps3-main.c
Geoff Levand [Sun, 12 Feb 2012 21:32:23 +0000 (13:32 -0800)]
Rename ps3-cui.c to ps3-main.c

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoInclude util files in 'make install'
Geoff Levand [Sun, 12 Feb 2012 21:01:32 +0000 (13:01 -0800)]
Include util files in 'make install'

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd new file kboot.conf.sample
Geoff Levand [Sun, 12 Feb 2012 21:00:51 +0000 (13:00 -0800)]
Add new file kboot.conf.sample

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoRename udhcpc to pb-udhcpc
Geoff Levand [Sun, 12 Feb 2012 20:46:43 +0000 (12:46 -0800)]
Rename udhcpc to pb-udhcpc

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoConvert build to use automake
Geoff Levand [Sun, 12 Feb 2012 20:12:32 +0000 (12:12 -0800)]
Convert build to use automake

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd generic ncurses program
Geoff Levand [Sun, 12 Feb 2012 19:47:19 +0000 (11:47 -0800)]
Add generic ncurses program

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoRename pb-test.c to discover-test.c
Geoff Levand [Sun, 12 Feb 2012 19:41:16 +0000 (11:41 -0800)]
Rename pb-test.c to discover-test.c

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoFix paths.c build warnings
Geoff Levand [Sun, 4 Dec 2011 23:46:33 +0000 (15:46 -0800)]
Fix paths.c build warnings

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoFix params.c logging
Geoff Levand [Sun, 4 Dec 2011 23:02:31 +0000 (15:02 -0800)]
Fix params.c logging

Fixes build warnings like these:
  implicit declaration of function ‘pb_log’

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoFix params.c build warnings
Geoff Levand [Sun, 4 Dec 2011 22:49:54 +0000 (14:49 -0800)]
Fix params.c build warnings

Fixes warnings like these:
  warning: no previous prototype

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoMove artwork from ui/twin to ui/common
Geoff Levand [Mon, 14 Nov 2011 02:50:47 +0000 (18:50 -0800)]
Move artwork from ui/twin to ui/common

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoRemove KEY_LEFT in nc-menu
Geoff Levand [Sat, 12 Nov 2011 22:55:32 +0000 (14:55 -0800)]
Remove KEY_LEFT in nc-menu

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd header dependencies to rules.mk
Geoff Levand [Sat, 12 Nov 2011 22:43:44 +0000 (14:43 -0800)]
Add header dependencies to rules.mk

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd twin checks to configure
Geoff Levand [Sat, 12 Nov 2011 22:16:05 +0000 (14:16 -0800)]
Add twin checks to configure

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd custom TALLOC_ABORT
Geoff Levand [Sat, 12 Nov 2011 21:59:18 +0000 (13:59 -0800)]
Add custom TALLOC_ABORT

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd va-copy check to configure.ac
Geoff Levand [Sat, 12 Nov 2011 21:42:31 +0000 (13:42 -0800)]
Add va-copy check to configure.ac

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd list_prev_entry, list_next_entry
Geoff Levand [Sat, 12 Nov 2011 06:52:05 +0000 (22:52 -0800)]
Add list_prev_entry, list_next_entry

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoReturn NULL for head list_entry
Geoff Levand [Sat, 12 Nov 2011 06:51:13 +0000 (22:51 -0800)]
Return NULL for head list_entry

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoCleanup list formatting
Geoff Levand [Sat, 12 Nov 2011 04:06:37 +0000 (20:06 -0800)]
Cleanup list formatting

Signed-off-by: Geoff Levand <geoff@infradead.org>
8 years agoAdd STATIC_LIST initializer
Geoff Levand [Sat, 12 Nov 2011 06:28:50 +0000 (22:28 -0800)]
Add STATIC_LIST initializer

Signed-off-by: Geoff Levand <geoff@infradead.org>