search for: ramdisk_load

Displaying 20 results from an estimated 25 matches for "ramdisk_load".

2019 Jan 22
1
[PATCH] fix build failure when CONFIG_KLIBC_ZLIB is not set
When CONFIG_KLIBC_ZLIB is not set, related functions shall not be called otherwise build failure is encountered: KLIBCLD usr/kinit/static/kinit usr/kinit/ramdisk_load.o: In function `load_ramdisk_compressed': /root/ldb_base/ofl/packages/klibc/usr/kinit/ramdisk_load.c:68: undefined reference to `inflateInit2_' /root/ldb_base/ofl/packages/klibc/usr/kinit/ramdisk_load.c:116: undefined reference to `inflate' /root/ldb_base/ofl/packages/klibc/usr/kinit/ra...
2019 Jan 23
0
[PATCH v2] fix build failure when CONFIG_KLIBC_ZLIB is not set
When CONFIG_KLIBC_ZLIB is not set, related functions shall not be called otherwise build failure is encountered: KLIBCLD usr/kinit/static/kinit usr/kinit/ramdisk_load.o: In function `load_ramdisk_compressed': /root/ldb_base/ofl/packages/klibc/usr/kinit/ramdisk_load.c:68: undefined reference to `inflateInit2_' /root/ldb_base/ofl/packages/klibc/usr/kinit/ramdisk_load.c:116: undefined reference to `inflate' /root/ldb_base/ofl/packages/klibc/usr/kinit/ra...
2019 Jan 24
0
[klibc:master] fix build failure when CONFIG_KLIBC_ZLIB is not set
...hings <ben at decadent.org.uk> CommitDate: Thu, 24 Jan 2019 23:11:11 +0000 [klibc] fix build failure when CONFIG_KLIBC_ZLIB is not set When CONFIG_KLIBC_ZLIB is not set, related functions shall not be called otherwise build failure is encountered: KLIBCLD usr/kinit/static/kinit usr/kinit/ramdisk_load.o: In function `load_ramdisk_compressed': /root/ldb_base/ofl/packages/klibc/usr/kinit/ramdisk_load.c:68: undefined reference to `inflateInit2_' /root/ldb_base/ofl/packages/klibc/usr/kinit/ramdisk_load.c:116: undefined reference to `inflate' /root/ldb_base/ofl/packages/klibc/usr/kinit/ra...
2020 Jul 25
0
[klibc:master] Clean up clang warnings
...: Sat, 25 Jul 2020 20:45:34 +0100 [klibc] Clean up clang warnings Add or remove casts of the "void *" argument of ioctl. Signed-off-by: Bill Wendling <morbo at google.com> Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/kinit/initrd.c | 2 +- usr/kinit/ramdisk_load.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/kinit/initrd.c b/usr/kinit/initrd.c index 7eece2ce..5833f2f2 100644 --- a/usr/kinit/initrd.c +++ b/usr/kinit/initrd.c @@ -153,7 +153,7 @@ static int run_linuxrc(int argc, char *argv[], dev_t root_dev) int olddev = open...
2020 Mar 27
2
[PATCH v2 5/5] Clean up clang warnings
...ns the current semantics, but may not be what the programmer intended. Signed-off-by: Bill Wendling <morbo at google.com> --- usr/dash/eval.c | 8 ++++---- usr/dash/jobs.c | 4 ++-- usr/dash/output.c | 12 ++++++------ usr/kinit/initrd.c | 2 +- usr/kinit/ramdisk_load.c | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/usr/dash/eval.c b/usr/dash/eval.c index ae83508ba160..2fa1a59995da 100644 --- a/usr/dash/eval.c +++ b/usr/dash/eval.c @@ -103,8 +103,8 @@ STATIC int bltincmd(int, char **); STATIC const struct builtincmd bltin = { - na...
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
...ee) 9: Fix asm includes for newer kernel sources. 10: Add missing NFS mount RPC call ordinals. 11: packet.h needs a definition for struct iovec 12: netdev.c needs sockios.h 13: Define types and values in sys/socket.h 14: Include sys/socket.h from net/if_arp.h 15: Drop unused argument root_dev to ramdisk_load() 16: Support for multiple devices specified on the root= cmdline. Thanks, Mike Waychison
2020 Mar 27
12
[PATCH 0/5] Clang compatibility patches
...| 3 +++ scripts/Kbuild.include | 4 ++++ scripts/Kbuild.klibc | 19 +++++++++++++++++-- usr/dash/eval.c | 8 ++++---- usr/dash/jobs.c | 4 ++-- usr/dash/output.c | 12 ++++++------ usr/kinit/initrd.c | 2 +- usr/kinit/ramdisk_load.c | 2 +- usr/klibc/arch/i386/MCONFIG | 2 +- usr/klibc/arch/mips64/MCONFIG | 2 +- usr/klibc/arch/ppc/MCONFIG | 2 +- usr/klibc/arch/ppc64/MCONFIG | 2 +- usr/klibc/arch/riscv64/MCONFIG | 2 +- usr/klibc/arch/sparc64/MCONFIG | 2 +- usr/klibc/arch/x86_64/MCONFIG | 14 ++++++...
2010 Nov 20
3
[PATCH 1/4] utils: cleanup unused includes
several errno.h for no good reasons. cleanup losesetup which is not using getopt_long, thus doesn't need getopt.h included. Move stdarg.h include up in losesetup to more proper place. Signed-off-by: maximilian attems <max at stro.at> --- usr/utils/dmesg.c | 1 - usr/utils/losetup.c | 4 +--- usr/utils/mkfifo.c | 1 - usr/utils/nuke.c | 1 - usr/utils/umount.c | 1
2020 Mar 29
7
[kvm-unit-tests PATCH v3 0/4] Update patch set
...lang's lld [klibc] Kbuild: Add "-fcommon" for clang builds [klibc] Clean up clang warnings Makefile | 3 +++ scripts/Kbuild.include | 8 ++++++-- scripts/Kbuild.klibc | 14 ++++++++++---- usr/kinit/initrd.c | 2 +- usr/kinit/ramdisk_load.c | 2 +- usr/klibc/Kbuild | 4 ++-- usr/klibc/arch/i386/MCONFIG | 2 +- usr/klibc/arch/mips64/MCONFIG | 5 +++-- usr/klibc/arch/ppc/MCONFIG | 2 +- usr/klibc/arch/ppc64/MCONFIG | 2 +- usr/klibc/arch/riscv64/MCONFIG | 2 +- usr/klibc/arch/sparc64/MCONFIG | 2 +...
2019 Jan 20
0
[klibc:master] Build and install kinit and sh without ".shared" suffix
.../usr/kinit/Kbuild +++ b/usr/kinit/Kbuild @@ -5,21 +5,21 @@ # library part of kinit. Is used by programs in sub-directories (resume et al) lib-y := name_to_dev.o devname.o getarg.o capabilities.o # use lib for kinit -kinit-y := lib.a +static/kinit-y := lib.a -kinit-y += kinit.o do_mounts.o ramdisk_load.o initrd.o -kinit-y += getintfile.o readfile.o xpio.o -kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o +static/kinit-y += kinit.o do_mounts.o ramdisk_load.o initrd.o +static/kinit-y += getintfile.o readfile.o xpio.o +static/kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o -kinit-y +=...
2020 Mar 27
0
[PATCH v2 0/5] Clang compatibility patches
...| 3 +++ scripts/Kbuild.include | 4 ++++ scripts/Kbuild.klibc | 19 +++++++++++++++++-- usr/dash/eval.c | 8 ++++---- usr/dash/jobs.c | 4 ++-- usr/dash/output.c | 12 ++++++------ usr/kinit/initrd.c | 2 +- usr/kinit/ramdisk_load.c | 2 +- usr/klibc/arch/i386/MCONFIG | 2 +- usr/klibc/arch/mips64/MCONFIG | 2 +- usr/klibc/arch/ppc/MCONFIG | 2 +- usr/klibc/arch/ppc64/MCONFIG | 2 +- usr/klibc/arch/riscv64/MCONFIG | 2 +- usr/klibc/arch/sparc64/MCONFIG | 2 +- usr/klibc/arch/x86_64/MCONFIG | 14 ++++++...
2020 Jul 25
0
[kvm-unit-tests PATCH v3 0/4] Update patch set
...d "-fcommon" for clang builds > [klibc] Clean up clang warnings > > Makefile | 3 +++ > scripts/Kbuild.include | 8 ++++++-- > scripts/Kbuild.klibc | 14 ++++++++++---- > usr/kinit/initrd.c | 2 +- > usr/kinit/ramdisk_load.c | 2 +- > usr/klibc/Kbuild | 4 ++-- > usr/klibc/arch/i386/MCONFIG | 2 +- > usr/klibc/arch/mips64/MCONFIG | 5 +++-- > usr/klibc/arch/ppc/MCONFIG | 2 +- > usr/klibc/arch/ppc64/MCONFIG | 2 +- > usr/klibc/arch/riscv64/MCONFIG | 2 +- > us...
2012 May 04
2
[PATCH] run-init: add drop_capabilities support
...usr/kinit/Kbuild @@ -3,14 +3,13 @@ # # library part of kinit. Is used by programs in sub-directories (resume et al) -lib-y := name_to_dev.o devname.o getarg.o +lib-y := name_to_dev.o devname.o getarg.o capabilities.o # use lib for kinit kinit-y := lib.a kinit-y += kinit.o do_mounts.o ramdisk_load.o initrd.o kinit-y += getintfile.o readfile.o xpio.o kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o -kinit-y += capabilities.o kinit-y += ipconfig/ kinit-y += nfsmount/ diff --git a/usr/kinit/capabilities.h b/usr/kinit/capabilities.h new file mode 100644 index 0000000..a32a66a --- /...
2011 Aug 03
1
[PATCH v2] kinit: Add drop_capabilities support.
...| 2 4 files changed, 242 insertions(+), 0 deletions(-) create mode 100644 usr/kinit/capabilities.c diff --git a/usr/kinit/Kbuild b/usr/kinit/Kbuild index ff1d449..8f6d08e 100644 --- a/usr/kinit/Kbuild +++ b/usr/kinit/Kbuild @@ -10,6 +10,7 @@ kinit-y := lib.a kinit-y += kinit.o do_mounts.o ramdisk_load.o initrd.o kinit-y += getintfile.o readfile.o xpio.o kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o +kinit-y += capabilities.o kinit-y += ipconfig/ kinit-y += nfsmount/ diff --git a/usr/kinit/capabilities.c b/usr/kinit/capabilities.c new file mode 100644 index 0000000..ad4d6ea --- /...
2006 Jul 11
0
[rfc] standalone kinit/resume
...ed, 100 insertions(+), 71 deletions(-) diff --git a/usr/kinit/Kbuild b/usr/kinit/Kbuild index 0000e89..7669ecb 100644 --- a/usr/kinit/Kbuild +++ b/usr/kinit/Kbuild @@ -2,19 +2,21 @@ # # Kbuild file for kinit # -static-y := kinit +static-y := kinit static/resume kinit-y := kinit.o do_mounts.o ramdisk_load.o initrd.o kinit-y += name_to_dev.o devname.o kinit-y += getarg.o getintfile.o open.o readfile.o xpio.o -kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o resume.o +kinit-y += do_mounts_md.o do_mounts_mtd.o nfsroot.o resumelib.o kinit-y += ipconfig/ kinit-y += nfsmount/ kinit-y += r...
2010 Apr 16
0
[git pull v4] dash, sh4, ipconfig, dprintf, fstype, README's
...usr/kinit/nfsmount/mount.c | 6 +- usr/kinit/nfsmount/nfsmount.h | 16 +- usr/kinit/nfsmount/portmap.c | 4 +- usr/kinit/nfsmount/sunrpc.c | 6 +- usr/kinit/nfsroot.c | 5 +- usr/kinit/ramdisk_load.c | 12 +- usr/kinit/resume/resumelib.c | 2 +- usr/klibc/.gitignore | 1 + usr/klibc/{README => README.klibc} | 5 +- usr/klibc/SYSCALLS.def | 2 +- usr/klibc/arch/{README => R...
2010 Apr 16
0
[PATCH] pull faccessat() system call
...usr/kinit/nfsmount/mount.c | 6 +- usr/kinit/nfsmount/nfsmount.h | 16 +- usr/kinit/nfsmount/portmap.c | 4 +- usr/kinit/nfsmount/sunrpc.c | 6 +- usr/kinit/nfsroot.c | 5 +- usr/kinit/ramdisk_load.c | 12 +- usr/kinit/resume/resumelib.c | 2 +- usr/klibc/.gitignore | 1 + usr/klibc/{README => README.klibc} | 5 +- usr/klibc/SYSCALLS.def | 3 +- usr/klibc/arch/{README => R...
2010 Mar 28
1
[git pull v3] dash, sh4, ipconfig, dprintf, fstype, README's
...usr/kinit/nfsmount/mount.c | 6 +- usr/kinit/nfsmount/nfsmount.h | 16 +- usr/kinit/nfsmount/portmap.c | 4 +- usr/kinit/nfsmount/sunrpc.c | 6 +- usr/kinit/nfsroot.c | 5 +- usr/kinit/ramdisk_load.c | 12 +- usr/kinit/resume/resumelib.c | 2 +- usr/klibc/.gitignore | 1 + usr/klibc/{README => README.klibc} | 5 +- usr/klibc/arch/{README => README.klibc.arch} | 0 usr/klibc/tests/Kbuild...
2011 Aug 02
6
[PATCH v2 0/4] Support drop directories directly from kinit
This patchset applies to klibc mainline. This patchset introduces the ability to kinit to execute scripts or executable files present in in the initramfs before switching over to the root filesystem. It is implemented by first implementing scandir() and alphasort() as present in POSIX.1-2008 in klibc itself, and then using that as the basis for iterating and executing files via a run_scripts()
2010 Mar 22
1
[git pull] dash, sh4, README's
hello hpa, pushed out new patch queue :) It contains the sync with latest dash git, renaming of some README's to ease their packaging, sparc32 socket test and a sh4 fix by Debian porters (numbers of changes is huge, but mostly contained in dash). git pull git://git.debian.org/users/maks/klibc.git maks initramfs-tools seems happy with that version of dash, saw no regression on boot test with