Skip to content

Instantly share code, notes, and snippets.

@ahkok
ahkok / gist:081efc51cdf657fa649336aa66250057
Created August 28, 2019 22:25
/etc/udev/rules.d/ucd-config-drive.rules
ACTION!="add|change", GOTO="ucd_config_drive_end"
SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="iso9660|udf|vfat", ENV{ID_FS_LABEL}=="config-2", RUN+="/usr/bin/ucd --user-data-once"
LABEL="ucd_config_drive_end"
> There are better examples for UEFI Shell & networking in TianoCore. We will link to those as part of the firmware content migration to IDZ.
>
> https://github.com/tianocore/tianocore.github.io/wiki/ShellPkg
>
> https://gitpitch.com/tianocore-training/UEFI_Shell_App_Pres/master#
>
> https://github.com/tianocore/tianocore.github.io/wiki/NetworkPkg-Getting-Started-Guide
clr-febdb127660f44668e1630870049d993 login: root
You are required to change your password immediately (administrator enforced)
New password:
Retype new password:
root@clr-febdb127660f44668e1630870049d993 ~ # ls /etc
cups machine-id openldap resolv.conf ssh
dnf mtab os-release shadow ssl
root@clr-febdb127660f44668e1630870049d993 ~ #
diff --git a/swupd-client-3.18.1/src/autoupdate.c b/swupd-client-3.18.1/src/autoupdate.c
index 3fac775..6934307 100644
--- a/swupd-client-3.18.1/src/autoupdate.c
+++ b/swupd-client-3.18.1/src/autoupdate.c
@@ -101,7 +101,7 @@ int autoupdate_main(int argc, char **argv)
check_root();
fprintf(stderr, "Running systemctl to enable updates\n");
rc = system("/usr/bin/systemctl unmask --now swupd-update.service swupd-update.timer"
- " && /usr/bin/systemctl start swupd-update.timer > /dev/null");
+ " && /usr/bin/systemctl restart swupd-update.timer > /dev/null");
Mock Version: 1.2.14
ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/systemd3.spec'], chrootPath='/var/lib/mock/clear-systemd3/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'CCACHE_UMASK': '002'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fa6451be208>timeout=0uid=1000gid=1000user='mockbuild'printOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/systemd3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\x1b]0;<mock-chroot>\x07<mock-chroot>"', 'LANG': 'en_US.UTF-8', 'CCACHE_DIR': '/tmp/ccache', 'CCACHE_UMASK': '002'} and shell False
Building
# This file contains additional build requirements that did not get
# picked up automatically. One name per line, no whitespace.
flex
bison
libpcap-dev
openssl-dev
zlib-dev
gperftools-dev
actor-framework-dev
diff --git a/date_palm.lua b/date_palm.lua
index 0c40b72..d20f9ac 100644
--- a/date_palm.lua
+++ b/date_palm.lua
@@ -223,13 +223,18 @@ local function find_fruit_trunks_near(ftpos, sect)
return nil
end
+ local basevec = { x = ftpos.x + 2 * sect.x * sect_hr,
+ y = ftpos.y,
sqlite3 sauth.sqlite "attach database 'players.sqlite' as players" "delete from auth where auth.name not in (select name from players.player)"
ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback on_chat_message(): ...etest/.minetest/games/insidethebox/mods/boxes/valloc.lua:63: bad argument #1 to 'ipairs' (table expected, got nil)
ERROR[Main]: stack traceback:
ERROR[Main]: [C]: in function 'ipairs'
ERROR[Main]: ...etest/.minetest/games/insidethebox/mods/boxes/valloc.lua:63: in function 'update_alloc_sizes'
ERROR[Main]: ...etest/.minetest/games/insidethebox/mods/boxes/valloc.lua:120: in function 'valloc'
ERROR[Main]: ...inetest/.minetest/games/insidethebox/mods/boxes/init.lua:298: in function 'open_box'
ERROR[Main]: ...inetest/.minetest/games/insidethebox/mods/boxes/init.lua:462: in function 'func'
/usr/bin/cmake -H/home/ahkok/clr/packages/hhvm/git/hhvm -B/home/ahkok/clr/packages/hhvm/git/hhvm/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/ahkok/clr/packages/hhvm/git/hhvm/build/CMakeFiles /home/ahkok/clr/packages/hhvm/git/hhvm/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/ahkok/clr/packages/hhvm/git/hhvm/build'
make -f third-party/libmbfl/mbfl/CMakeFiles/eaw_table.dir/build.make third-party/libmbfl/mbfl/CMakeFiles/eaw_table.dir/depend
make[2]: Entering directory '/home/ahkok/clr/packages/hhvm/git/hhvm/build'
cd /home/ahkok/clr/packages/hhvm/git/hhvm/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/ahkok/clr/packages/hhvm/git/hhvm /home/ahkok/clr/packages/hhvm/git/hhvm/third-party/libmbfl/mbfl /home/ahkok/clr/packages/hhvm/git/hhvm/build /home/ahkok/clr/packages/hhvm/git/hhvm/build/third-party/libmbfl/mbfl /home/ahkok/clr/packages/hhvm/git/hhvm/build/third-party/libmbfl/mbfl/CMakeFile