Displaying 20 results from an estimated 200 matches similar to: "[PATCH 0/2] improve Lua API for files and initramfs objects"
2016 Nov 19
2
[PATCH 0/2] improve Lua API for files and initramfs objects
"H. Peter Anvin" <hpa at zytor.com> writes:
> On 11/10/16 04:38, Paul Emmerich via Syslinux wrote:
>
>> Ferenc W?gner <wferi at niif.hu>:
>>
>>> for reading configuration files from disk. Does it not work with HTTP/
>>> TFTP for you? Using that, load_file could be implemented in Lua as:
>>
>> that does work, yes. It just
2016 Nov 20
2
[PATCH 0/2] improve Lua API for files and initramfs objects
hpa at zytor.com writes:
> On November 19, 2016 6:06:43 AM PST, wferi at niif.hu wrote:
>
>>"H. Peter Anvin" <hpa at zytor.com> writes:
>>
>>> On 11/10/16 04:38, Paul Emmerich via Syslinux wrote:
>>>
>>>> Ferenc W?gner <wferi at niif.hu>:
>>>>
>>>>> for reading configuration files from disk. Does it
2016 Nov 10
3
[PATCH 0/2] improve Lua API for files and initramfs objects
Hi,
> Ferenc W?gner <wferi at niif.hu>:
> for reading configuration files from disk. Does it not work with HTTP/
> TFTP for you? Using that, load_file could be implemented in Lua as:
that does work, yes. It just looked like a file object should have a some way
to get the contents. I'm actually not using it in our scripts.
> All in all, I can't see the need for new
2011 Mar 29
0
[PATCH] Implementation for sl_initramfs_add_file() in lua.c32
This is a possible implementation for syslinux.initramfs_add_file()
for the lua.c32 module, it adds a third parameter not documented, the
dst_filename as it is required for placing the new file in the
initramfs:
###########################################################
--- syslinux.orig/com32/lua/src/syslinux.c 2011-03-29 16:52:37.161106252 -0300
+++ syslinux/com32/lua/src/syslinux.c 2011-03-29
2016 Jan 19
6
FWD: [patch] scp + UTF-8
Hi,
Martijn sent the following patch to me in private and agreed that i post
it here.
In any other program in OpenBSD base, i'd probably agree with the
basic approach. Regarding OpenSSH, however, i worry whether wcwidth(3)
can be used. While wcwidth(3) is POSIX, it is not ISO C. Does
OpenSSH target platforms that don't provide wcwidth(3)? If so,
do you think the problem can be solved
2014 Nov 28
0
[PATCH] Add ldisk.c32 Lua module
Hi,
the patch can also be pulled from my fork of the git repository at https://github.com/emmericp/syslinux.git <https://github.com/emmericp/syslinux.git> under the branch ldisk-lua-module.
The commit is also available on GitHub if you prefer a website to view the diff: https://github.com/emmericp/syslinux/commit/e1612cb42508fa2f33ceb045a7722fa34664231c
2014 Nov 28
2
[PATCH] Add ldisk.c32 Lua module
ldisk.c32 is a Lua module that provides information about disks to Lua scripts
The example script com32/lua/test/detect_disks.lua uses it to implement some-
thing akin to 'disk.c32'.
The name 'ldisk.c32' was chosen to avoid a name-clash with 'disk.c32'.
---
com32/lua/src/Makefile | 1 +
com32/lua/src/ldisk.c | 103
2017 Mar 23
6
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
Hi,
Geert Stappers wrote:
> Contact David off-list, he did unsubscribe.
Can you tell when he unsubscribed (i.e. which of the messages he got
as last one) ?
> Martin posted elsewhere in this thread "Thomas, you found the bug"
> and provided a patch.
Open question is whether the fix helps with David's BIOS.
The newest answer from Martin indicates that a failure to read
2023 Feb 06
20
[Bug 3534] New: probable underflow calculating display width of file name
https://bugzilla.mindrot.org/show_bug.cgi?id=3534
Bug ID: 3534
Summary: probable underflow calculating display width of file
name
Product: Portable OpenSSH
Version: -current
Hardware: amd64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: scp
2017 Mar 24
2
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
Hi,
C/H/S addressing and reading of first block seems to be ok in isohdpfd.bin.
The main suspect for the failure of the attempt with isohdpfd.bin is the
number or content of the blocks read after the first one.
But i have no clue why isohdpfc.bin should do better than isohdpfd.bin.
They differ just by one instruction (JC = 0x72 versus JMP = 0xEB) which
both are performed before the reading and
2017 Feb 10
2
Extlinux & PXE Booting...
Hi All,
I have a situation where a remote network of computers that normally PXE
boot Linux has been powered off so long, the BIOS boot order is forgotten,
reverting to the HD only.
With the machines PXE booted (manually) now thanks to a colleague, I have
an opportunity to install Syslinux on the hard drive. I would like to
install it on a small active partition, sda1, so that it then PXE
2023 Mar 19
3
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
This is version 4 of the following sub-series:
[libnbd PATCH v3 09/29] lib/utils: introduce async-signal-safe execvpe()
[libnbd PATCH v3 10/29] lib/utils: add unit tests for async-signal-safe execvpe()
http://mid.mail-archive.com/20230215141158.2426855-10-lersek at redhat.com
http://mid.mail-archive.com/20230215141158.2426855-11-lersek at redhat.com
The Notes section on each patch records the
2015 Jul 23
37
[Bug 2434] New: scp can send arbitrary control characters / escape sequences to the terminal
https://bugzilla.mindrot.org/show_bug.cgi?id=2434
Bug ID: 2434
Summary: scp can send arbitrary control characters / escape
sequences to the terminal
Product: Portable OpenSSH
Version: 6.7p1
Hardware: Other
OS: Linux
Status: NEW
Severity: security
Priority: P5
2009 Oct 29
5
[PATCH] gfxboot.c32
Ok, here is the first try to turn the gfxboot wrapper into a com32 module. I
had to extend the interface to the gfxboot core a bit to get it working. So
it works only with latest gfxboot from
git://gitorious.org/gfxboot/gfxboot.git
Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gfxboot_c32.diff.gz
Type: application/x-gzip
Size: 7220 bytes
Desc:
URL:
2016 Nov 10
0
[PATCH 0/2] improve Lua API for files and initramfs objects
"p.emmerich--- via Syslinux" <syslinux at zytor.com> writes:
> the new API for initramfs and files in master lacked the ability to build
> initramfs objects from files loaded via HTTP/TFTP in Lua.
Hi,
Standard Lua file I/O should work for that. For example, I use
local function readAll (file)
local f = io.open ("/extlinux/" .. file)
if f == nil then
2007 Aug 22
8
How to spec an attachment_fu model
First off, I''m not trying to spec attachment_fu, I know it''s been tested.
But, I added some code to that model that I do need to test. Basically,
I need to somehow fulfill the "uploaded_data" property so I can actually
run my tests(otherwise they fail because of validations). The
"uploaded_data" field is what would grab the multipart data from form.
Here
2016 Nov 29
0
[PATCH 0/2] improve Lua API for files and initramfs objects
On 11/20/16 00:13, Ferenc W?gner via Syslinux wrote:
>
> This indeed copies the data from the syslinux_file structure (which is
> an opaque SYSLINUX_FILE object on the Lua side) into an (interned) Lua
> string to make it available to the Lua string functions.
>
> You probably ask why we copy the data when we create those SYSLINUX_FILE
> userdata objects. We don't, the
2003 Mar 30
1
[RFC][patch] dynamic rolling block and sum sizes II
Mark II of the patch set.
The first patch (dynsumlen2.patch) increments the protocol
version to support per-file dynamic block checksum sizes.
It is a prerequisite for varsumlen2.patch.
varsumlen2.patch implements per-file dynamic block and checksum
sizes.
The current block size calculation only applies to files
between 7MB and 160MB setting the block size to 1/10,0000 of
the file length for a
2007 Aug 03
6
Problems saving an uploaded image to an app folder
In my app, the user can upload images. Rather than shoving the image
data in the database, i want to put the filename and content type into
the db, then rename the image with its record''s id number, and then save
it into a local folder in my app folder. (hardcoded for now)
All the details are being saved to the db ok, so as far as i know the
"picture_file=" method is fine.
2006 Jul 03
7
form_remote_tag with multipart/form-data
Does form_remote_tag supports multipart/form-data ?
My form looks like this:
<%= form_remote_tag :url => { :action => ''do_image_upload'' },
:html => { :enctype => ''multipart/form-data'' } %>
<%= file_field ''image'', ''file_data'', :size => 32 %>
<%= submit_tag